1 Clazz.declarePackage("java.util.regex");
2 Clazz.load(["java.lang.IllegalArgumentException"],"java.util.regex.PatternSyntaxException",null,function(){
3 c$=Clazz.decorateAsClass(function(){
7 Clazz.instantialize(this,arguments);
8 },java.util.regex,"PatternSyntaxException",IllegalArgumentException);
9 Clazz.makeConstructor(c$,
10 function(desc,pattern,index){
11 Clazz.superConstructor(this,java.util.regex.PatternSyntaxException,[]);
16 Clazz.defineMethod(c$,"getPattern",
20 Clazz.overrideMethod(c$,"getMessage",
24 s+=" near index "+this.index;
25 }s+="\r\n"+this.pattern;
28 for(var i=0;i<this.index;i++)s+=(' ').charCodeAt(0);
30 s+=('^').charCodeAt(0);
33 Clazz.defineMethod(c$,"getDescription",
37 Clazz.defineMethod(c$,"getIndex",