Package org.apache.sling.commons.json
Class JSONException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.sling.commons.json.JSONException
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class JSONException extends java.lang.Exception
Deprecated.The JSONException is thrown by the JSON.org classes then things are amiss.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JSONException(java.lang.String message)
Deprecated.Constructs a JSONException with an explanatory message.JSONException(java.lang.String message, java.lang.Throwable t)
Deprecated.JSONException(java.lang.Throwable t)
Deprecated.
-
-
-
Constructor Detail
-
JSONException
public JSONException(java.lang.String message)
Deprecated.Constructs a JSONException with an explanatory message.- Parameters:
message
- Detail about the reason for the exception.
-
JSONException
public JSONException(java.lang.Throwable t)
Deprecated.
-
JSONException
public JSONException(java.lang.String message, java.lang.Throwable t)
Deprecated.
-
-