X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=unused%2Fjavajs%2Futil%2FJSONException.java;fp=unused%2Fjavajs%2Futil%2FJSONException.java;h=84d12fdbdc9c60048c332a449a00e7da3179e601;hb=4898f0ae429e0c61ddba72ca46be89b34bb4df8b;hp=0000000000000000000000000000000000000000;hpb=5a6ac5b535856903629234ad43a71319a91ebee5;p=jalview.git diff --git a/unused/javajs/util/JSONException.java b/unused/javajs/util/JSONException.java new file mode 100644 index 0000000..84d12fd --- /dev/null +++ b/unused/javajs/util/JSONException.java @@ -0,0 +1,18 @@ +package javajs.util; + +public class JSONException extends RuntimeException { + public JSONException(String message) { + super(message); + } + + public JSONException(Throwable cause) { + super(cause.getMessage()); + this.cause = cause; + } + + public Throwable getCause() { + return this.cause; + } +} + +}