Download static/j2s/java/util/IllegalFormatConversionException.js from patonlab/cascade: direct link, hf CLI and curl.
- Browser
- Download file 841 Bytes
-
https://huggingface.co/spaces/patonlab/cascade/resolve/main/static/j2s/java/util/IllegalFormatConversionException.js
- Command line
-
hf download hf://spaces/patonlab/cascade/static/j2s/java/util/IllegalFormatConversionException.js
-
curl -L -o IllegalFormatConversionException.js https://huggingface.co/spaces/patonlab/cascade/resolve/main/static/j2s/java/util/IllegalFormatConversionException.js
841 Bytes
| Clazz.load(["java.util.IllegalFormatException"],"java.util.IllegalFormatConversionException",["java.lang.NullPointerException"],function(){ | |
| c$=Clazz.decorateAsClass(function(){ | |
| this.c=0; | |
| this.arg=null; | |
| Clazz.instantialize(this,arguments); | |
| },java.util,"IllegalFormatConversionException",java.util.IllegalFormatException,java.io.Serializable); | |
| Clazz.makeConstructor(c$, | |
| function(c,arg){ | |
| Clazz.superConstructor(this,java.util.IllegalFormatConversionException,[]); | |
| this.c=c; | |
| if(arg==null){ | |
| throw new NullPointerException(); | |
| }this.arg=arg; | |
| },"~N,Class"); | |
| Clazz.defineMethod(c$,"getArgumentClass", | |
| function(){ | |
| return this.arg; | |
| }); | |
| Clazz.defineMethod(c$,"getConversion", | |
| function(){ | |
| return this.c; | |
| }); | |
| Clazz.overrideMethod(c$,"getMessage", | |
| function(){ | |
| return""+this.c+" is incompatible with "+this.arg.getName(); | |
| }); | |
| }); | |