Sha256: 5bfb93b64bfc2117afc7aa4c5644be4d93f1370f28d1ea16e2c18e4c126aae86
Contents?: true
Size: 608 Bytes
Versions: 25
Compression:
Stored size: 608 Bytes
Contents
package org.json.me; /** * The JSONException is thrown by the JSON.org classes then things are amiss. * @author JSON.org * @version 2 */ public class JSONException extends Exception { private Throwable cause; /** * Constructs a JSONException with an explanatory message. * @param message Detail about the reason for the exception. */ public JSONException(String message) { super(message); } public JSONException(Throwable t) { super(t.getMessage()); this.cause = t; } public Throwable getCause() { return this.cause; } }
Version data entries
25 entries across 25 versions & 1 rubygems