Download static/j2s/java/util/MissingFormatArgumentException.js from patonlab/cascade: direct link, hf CLI and curl.
- Browser
- Download file 678 Bytes
-
https://huggingface.co/spaces/patonlab/cascade/resolve/main/static/j2s/java/util/MissingFormatArgumentException.js
- Command line
-
hf download hf://spaces/patonlab/cascade/static/j2s/java/util/MissingFormatArgumentException.js
-
curl -L -o MissingFormatArgumentException.js https://huggingface.co/spaces/patonlab/cascade/resolve/main/static/j2s/java/util/MissingFormatArgumentException.js
678 Bytes
| Clazz.load(["java.util.IllegalFormatException"],"java.util.MissingFormatArgumentException",["java.lang.NullPointerException"],function(){ | |
| c$=Clazz.decorateAsClass(function(){ | |
| this.s=null; | |
| Clazz.instantialize(this,arguments); | |
| },java.util,"MissingFormatArgumentException",java.util.IllegalFormatException); | |
| Clazz.makeConstructor(c$, | |
| function(s){ | |
| Clazz.superConstructor(this,java.util.MissingFormatArgumentException,[]); | |
| if(null==s){ | |
| throw new NullPointerException(); | |
| }this.s=s; | |
| },"~S"); | |
| Clazz.defineMethod(c$,"getFormatSpecifier", | |
| function(){ | |
| return this.s; | |
| }); | |
| Clazz.overrideMethod(c$,"getMessage", | |
| function(){ | |
| return"Format specifier '"+this.s+"'"; | |
| }); | |
| }); | |