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
An exception that is thrown during JSON operations.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new exception withnull
as 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 Details
-
JsonException
public JsonException()Constructs a new exception withnull
as its detail message. -
JsonException
Constructs a new exception with the specified detail message.- Parameters:
message
- The message.
-
JsonException
Constructs a new exception with the specified cause.- Parameters:
cause
- The cause.
-
JsonException
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- The message.cause
- The cause.
-