JAL-1807
[jalview.git] / site / j2s / java / lang / TypeNotPresentException.js
diff --git a/site/j2s/java/lang/TypeNotPresentException.js b/site/j2s/java/lang/TypeNotPresentException.js
new file mode 100644 (file)
index 0000000..19ad7a9
--- /dev/null
@@ -0,0 +1,15 @@
+Clazz.load(["java.lang.RuntimeException"],"java.lang.TypeNotPresentException",null,function(){
+c$=Clazz.decorateAsClass(function(){
+this.$typeName=null;
+Clazz.instantialize(this,arguments);
+},java.lang,"TypeNotPresentException",RuntimeException);
+Clazz.makeConstructor(c$,
+function(typeName,cause){
+Clazz.superConstructor(this,TypeNotPresentException,["Type "+typeName+" not present",cause]);
+this.$typeName=typeName;
+},"~S,Throwable");
+Clazz.defineMethod(c$,"typeName",
+function(){
+return this.$typeName;
+});
+});