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=ec8f3cedf60fb1feed6d34de6b49f6bfa78b9dd8;hp=0000000000000000000000000000000000000000;hpb=056dad85a910551cc95e44d451a61f6b8c4dd35d;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; + } +} + +}