public class ParseException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_UNEXPECTED_CHAR |
static int |
ERROR_UNEXPECTED_EXCEPTION |
static int |
ERROR_UNEXPECTED_TOKEN |
Constructor and Description |
---|
ParseException(int errorType) |
ParseException(int position,
int errorType,
java.lang.Object unexpectedObject) |
ParseException(int errorType,
java.lang.Object unexpectedObject) |
Modifier and Type | Method and Description |
---|---|
int |
getErrorType() |
int |
getPosition() |
java.lang.Object |
getUnexpectedObject() |
void |
setErrorType(int errorType) |
void |
setPosition(int position) |
void |
setUnexpectedObject(java.lang.Object unexpectedObject) |
java.lang.String |
toString() |
public static final int ERROR_UNEXPECTED_CHAR
public static final int ERROR_UNEXPECTED_TOKEN
public static final int ERROR_UNEXPECTED_EXCEPTION
public ParseException(int errorType)
public ParseException(int errorType, java.lang.Object unexpectedObject)
public ParseException(int position, int errorType, java.lang.Object unexpectedObject)
public int getErrorType()
public void setErrorType(int errorType)
public int getPosition()
JSONParser.getPosition()
public void setPosition(int position)
public java.lang.Object getUnexpectedObject()
Yytoken
public void setUnexpectedObject(java.lang.Object unexpectedObject)
public java.lang.String toString()
toString
in class java.lang.Throwable
Copyright © 2005-2021 Potix Corporation. All Rights Reserved.