public class JsonValueException extends JsonException
Constructor and Description |
---|
JsonValueException(JsonValue value)
Constructs a new exception with the specified JSON value and
null
as its detail message. |
JsonValueException(JsonValue value,
String message)
Constructs a new exception with the specified JSON value and detail
message.
|
JsonValueException(JsonValue value,
String message,
Throwable cause)
Constructs a new exception with the specified JSON value, detail message
and cause.
|
JsonValueException(JsonValue value,
Throwable cause)
Constructs a new exception with the specified JSON value and cause.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
getJsonValue()
Returns the JSON value for which the exception was thrown.
|
String |
getMessage()
Returns the detail message string of this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public JsonValueException(JsonValue value)
null
as its detail message.value
- The JSON value.public JsonValueException(JsonValue value, String message)
value
- The JSON value.message
- The message.public JsonValueException(JsonValue value, Throwable cause)
value
- The JSON value.cause
- The cause.public String getMessage()
getMessage
in class Throwable
public JsonValue getJsonValue()
Copyright © 2010-2018, ForgeRock All Rights Reserved.