biojs-vis-pdbviewer
Version:
A BioJS 2.0 component to view protein structures
8 lines (7 loc) • 368 B
JavaScript
Clazz.load(["java.lang.IndexOutOfBoundsException"],"java.lang.StringIndexOutOfBoundsException",null,function(){
c$=Clazz.declareType(java.lang,"StringIndexOutOfBoundsException",IndexOutOfBoundsException);
Clazz.makeConstructor(c$,
function(index){
Clazz.superConstructor(this,StringIndexOutOfBoundsException,["String index out of range: "+index]);
},"~N");
});