Download static/j2s/java/util/IllegalFormatPrecisionException.js from patonlab/cascade: direct link, hf CLI and curl.
- Browser
- Download file 584 Bytes
-
https://huggingface.co/spaces/patonlab/cascade/resolve/main/static/j2s/java/util/IllegalFormatPrecisionException.js
- Command line
-
hf download hf://spaces/patonlab/cascade/static/j2s/java/util/IllegalFormatPrecisionException.js
-
curl -L -o IllegalFormatPrecisionException.js https://huggingface.co/spaces/patonlab/cascade/resolve/main/static/j2s/java/util/IllegalFormatPrecisionException.js
584 Bytes
| Clazz.load(["java.util.IllegalFormatException"],"java.util.IllegalFormatPrecisionException",null,function(){ | |
| c$=Clazz.decorateAsClass(function(){ | |
| this.p=0; | |
| Clazz.instantialize(this,arguments); | |
| },java.util,"IllegalFormatPrecisionException",java.util.IllegalFormatException); | |
| Clazz.makeConstructor(c$, | |
| function(p){ | |
| Clazz.superConstructor(this,java.util.IllegalFormatPrecisionException,[]); | |
| this.p=p; | |
| },"~N"); | |
| Clazz.defineMethod(c$,"getPrecision", | |
| function(){ | |
| return this.p; | |
| }); | |
| Clazz.overrideMethod(c$,"getMessage", | |
| function(){ | |
| return String.valueOf(this.p); | |
| }); | |
| }); | |