|
|||||||||
| 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
java.lang.IllegalArgumentException
org.kopitubruk.util.json.JSONException
org.kopitubruk.util.json.UnmatchedSurrogateException
public class UnmatchedSurrogateException
Exception used when unmatched surrogates are encountered in the input and the
value of JSONConfig.getUnmatchedSurrogatePolicy() is
JSONConfig.EXCEPTION.
| Method Summary | |
|---|---|
int |
getPosition()
Get the position within the string of the unmatched surrogate that caused this exception. |
String |
getStrValue()
Get the string value that contained this unmatched surrogate. |
char |
getUnmatchedSurrogate()
Get the unmatched surrogate that caused this exception. |
| Methods inherited from class org.kopitubruk.util.json.JSONException |
|---|
getClassName, getLocalizedMessage, getMessage, setLocale |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String getStrValue()
public int getPosition()
public char getUnmatchedSurrogate()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||