Package org.forgerock.json
Class JsonException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.forgerock.json.JsonException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JsonValueException
public class JsonException extends RuntimeException
An exception that is thrown during JSON operations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonException()Constructs a new exception withnullas its detail message.JsonException(String message)Constructs a new exception with the specified detail message.JsonException(String message, Throwable cause)Constructs a new exception with the specified detail message and cause.JsonException(Throwable cause)Constructs a new exception with the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
JsonException
public JsonException()
Constructs a new exception withnullas its detail message.
-
JsonException
public JsonException(String message)
Constructs a new exception with the specified detail message.- Parameters:
message- The message.
-
JsonException
public JsonException(Throwable cause)
Constructs a new exception with the specified cause.- Parameters:
cause- The cause.
-
-