X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Forg%2Fjson%2FJSONException.java;fp=src%2Forg%2Fjson%2FJSONException.java;h=99e62c9fc3eb7e05078eb7ea2b471040f09531b6;hb=3459a8a691cb22508d7067f240b7254e588e77d3;hp=72542dfb6eac3451a3fd4ee4fa4fd04c96a27688;hpb=5b27f1062b2203c4c31702e205f4c78e1992063e;p=jalview.git diff --git a/src/org/json/JSONException.java b/src/org/json/JSONException.java index 72542df..99e62c9 100644 --- a/src/org/json/JSONException.java +++ b/src/org/json/JSONException.java @@ -6,40 +6,44 @@ package org.json; * @author JSON.org * @version 2015-12-09 */ -public class JSONException extends RuntimeException { - /** Serialization ID */ - private static final long serialVersionUID = 0; +public class JSONException extends RuntimeException +{ + /** Serialization ID */ + private static final long serialVersionUID = 0; - /** - * Constructs a JSONException with an explanatory message. - * - * @param message - * Detail about the reason for the exception. - */ - public JSONException(final String message) { - super(message); - } + /** + * Constructs a JSONException with an explanatory message. + * + * @param message + * Detail about the reason for the exception. + */ + public JSONException(final String message) + { + super(message); + } - /** - * Constructs a JSONException with an explanatory message and cause. - * - * @param message - * Detail about the reason for the exception. - * @param cause - * The cause. - */ - public JSONException(final String message, final Throwable cause) { - super(message, cause); - } + /** + * Constructs a JSONException with an explanatory message and cause. + * + * @param message + * Detail about the reason for the exception. + * @param cause + * The cause. + */ + public JSONException(final String message, final Throwable cause) + { + super(message, cause); + } - /** - * Constructs a new JSONException with the specified cause. - * - * @param cause - * The cause. - */ - public JSONException(final Throwable cause) { - super(cause.getMessage(), cause); - } + /** + * Constructs a new JSONException with the specified cause. + * + * @param cause + * The cause. + */ + public JSONException(final Throwable cause) + { + super(cause.getMessage(), cause); + } }