|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.mongodb.util.JSONParseException
public class JSONParseException
Exception throw when invalid JSON is passed to JSONParser. This exception creates a message that points to the first offending character in the JSON string:
{ "x" : 3, "y" : 4, some invalid json.... }
^
| Constructor Summary | |
|---|---|
JSONParseException(String s,
int pos)
|
|
JSONParseException(String s,
int pos,
Throwable cause)
|
|
| Method Summary | |
|---|---|
String |
getMessage()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JSONParseException(String s,
int pos)
public JSONParseException(String s,
int pos,
Throwable cause)
| Method Detail |
|---|
public String getMessage()
getMessage in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||