# Class: com.pnfsoftware.jeb.util.encoding.json.parser.ParseException

ParseException explains why and where the error occurs in source JSON text.

## Constructor: ParseException
- parameter: `errorType`, type: `int`


## Constructor: ParseException
- parameter: `errorType`, type: `int`
- parameter: `unexpectedObject`, type: `java.lang.Object`


## Constructor: ParseException
- parameter: `position`, type: `long`
- parameter: `errorType`, type: `int`
- parameter: `unexpectedObject`, type: `java.lang.Object`


## Static Field: ERROR_UNEXPECTED_CHAR
Type: `int`

Constant value: `0`

## Static Field: ERROR_UNEXPECTED_EXCEPTION
Type: `int`

Constant value: `2`

## Static Field: ERROR_UNEXPECTED_TOKEN
Type: `int`

Constant value: `1`

## Method: getErrorType
- return type: `int`


## Method: getMessage
- return type: `java.lang.String`


## Method: getPosition
- return type: `long`

Description: 
see also: org.json.simple.parser.JSONParser#getPosition()
return: The character position \(starting with 0\) of the input where the error occurs.

## Method: getUnexpectedObject
- return type: `java.lang.Object`

Description: 
see also: org.json.simple.parser.Yytoken
return: One of the following base on the value of errorType: 		   	ERROR\_UNEXPECTED\_CHAR		java.lang.Character 			ERROR\_UNEXPECTED\_TOKEN		org.json.simple.parser.Yytoken 			ERROR\_UNEXPECTED\_EXCEPTION	java.lang.Exception

## Method: setErrorType
- parameter: `errorType`, type: `int`


## Method: setPosition
- parameter: `position`, type: `int`


## Method: setUnexpectedObject
- parameter: `unexpectedObject`, type: `java.lang.Object`


