Package org.bson.json
Class JsonParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.bson.json.JsonParseException
- All Implemented Interfaces:
Serializable
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
JSONParseException indicates some exception happened during JSON processing.
- Since:
- 3.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructs a new runtime exception with null as its detail message.Deprecated.Constructs a new runtime exception with the specified detail message.JsonParseException
(String pattern, Object... args) Deprecated.Constructs a new runtime exception with string formatted using specified pattern and arguments.Deprecated.Create a JSONParseException with the givenThrowable
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
-
JsonParseException
public JsonParseException()Deprecated.Constructs a new runtime exception with null as its detail message. -
JsonParseException
Deprecated.Constructs a new runtime exception with the specified detail message.- Parameters:
s
- The detail message.
-
JsonParseException
Deprecated.Constructs a new runtime exception with string formatted using specified pattern and arguments.- Parameters:
pattern
- Aformat string
.args
- the arguments to insert into the pattern String
-
JsonParseException
Deprecated.Create a JSONParseException with the givenThrowable
cause.- Parameters:
t
- the throwable root case
-