Class SimplifiedJsonTokener.SimplifiedJsonException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.continual.onap.services.mrCommon.SimplifiedJsonTokener.SimplifiedJsonException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SimplifiedJsonTokener
public class SimplifiedJsonTokener.SimplifiedJsonException extends Exception
The JSONException is thrown by the JSON.org classes when things are amiss.- Version:
- 2013-02-10
- Author:
- JSON.org
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimplifiedJsonException(String message)Constructs a JSONException with an explanatory message.SimplifiedJsonException(Throwable cause)Constructs a new JSONException with the specified cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablegetCause()Returns the cause of this exception or null if the cause is nonexistent or unknown.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SimplifiedJsonException
public SimplifiedJsonException(String message)
Constructs a JSONException with an explanatory message.- Parameters:
message- Detail about the reason for the exception.
-
SimplifiedJsonException
public SimplifiedJsonException(Throwable cause)
Constructs a new JSONException with the specified cause.- Parameters:
cause- the cause of this exception
-
-