Package org.bson.json
Class JsonParseException
-
-
-
-
- org.bson.json.JsonParseException
-
-
-
-
- All Implemented Interfaces:
public class JsonParseException extends
JSONParseException indicates some exception happened during JSON processing.- Since:
- 3.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonParseException()
Constructs a new runtime exception with null as its detail message.s)
Constructs a new runtime exception with the specified detail message.pattern, ... args)
Constructs a new runtime exception with string formatted using specified pattern and arguments.t)
Create a JSONParseException with the given cause.
-
-
-
Constructor Detail
-
JsonParseException
public JsonParseException()
Constructs a new runtime exception with null as its detail message.
-
JsonParseException
public JsonParseException( s)
Constructs a new runtime exception with the specified detail message.- Parameters:
s
- The detail message.
-
JsonParseException
public JsonParseException( pattern, ... args)
Constructs a new runtime exception with string formatted using specified pattern and arguments.- Parameters:
pattern
- A .args
- the arguments to insert into the pattern String
-
JsonParseException
public JsonParseException( t)
Create a JSONParseException with the given cause.- Parameters:
t
- the throwable root case
-
-