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
 
 public class JsonParseException extends RuntimeException JSONParseException indicates some exception happened during JSON processing.- Since:
- 3.0
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description JsonParseException()Constructs a new runtime exception with null as its detail message.JsonParseException(String s)Constructs a new runtime exception with the specified detail message.JsonParseException(String pattern, Object... args)Constructs a new runtime exception with string formatted using specified pattern and arguments.JsonParseException(Throwable t)Create a JSONParseException with the givenThrowablecause.
 - 
Method Summary- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
JsonParseExceptionpublic JsonParseException() Constructs a new runtime exception with null as its detail message.
 - 
JsonParseExceptionpublic JsonParseException(String s) Constructs a new runtime exception with the specified detail message.- Parameters:
- s- The detail message.
 
 - 
JsonParseExceptionpublic JsonParseException(String pattern, Object... args) Constructs a new runtime exception with string formatted using specified pattern and arguments.- Parameters:
- pattern- A- format string.
- args- the arguments to insert into the pattern String
 
 
- 
 
-