public class SerializedPhpParserException extends Exception
| Modifier and Type | Field and Description |
|---|---|
int |
code |
static int |
MISSING_CLOSER_STRING
code if serialized array missing closer char }.
|
static int |
MISSING_DELIMITER_STRING
code if serialized value missing delimiter ( : or ; )
|
static int |
NO_CODE_SET |
static int |
OUT_OF_RANG_REFERENCE
code if serialized reference is pointing to a value out of the
reference index.
|
int |
position |
static int |
TO_LONG_STRING
code if serialized String is to Long (example s:5;"Hello Next"; )
|
static int |
TO_SHORT_INPUT_STRING
code if serialized string is to short (example: s:8;"Hello"; )
|
static int |
TO_SHORT_STRING
code if serialized string is to short (example: input string is
latin1 with special char but assumeUTF8 is set true)
|
static int |
UNEXPECTED_FAIL
code if serialized string failed with unknown reason
|
static int |
UNKNOWN_TYPE
code if serialized string has a unknown type used ( known types: i,
d, b, s, a, O, N, R )
|
| Constructor and Description |
|---|
SerializedPhpParserException() |
SerializedPhpParserException(String message) |
SerializedPhpParserException(String message,
int position) |
SerializedPhpParserException(String message,
int position,
int code) |
SerializedPhpParserException(String message,
int position,
int code,
Throwable cause) |
SerializedPhpParserException(String message,
int position,
Throwable cause) |
SerializedPhpParserException(String message,
Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int NO_CODE_SET
public static final int TO_LONG_STRING
public static final int TO_SHORT_STRING
public static final int OUT_OF_RANG_REFERENCE
public static final int MISSING_CLOSER_STRING
public static final int MISSING_DELIMITER_STRING
public static final int TO_SHORT_INPUT_STRING
public static final int UNKNOWN_TYPE
public static final int UNEXPECTED_FAIL
public int position
public int code
public SerializedPhpParserException()
public SerializedPhpParserException(String message)
message - public SerializedPhpParserException(String message, int position)
message - position - public SerializedPhpParserException(String message, int position, Throwable cause)
message - position - cause - public SerializedPhpParserException(String message, int position, int code)
message - position - code - public SerializedPhpParserException(String message, int position, int code, Throwable cause)
message - position - code - cause - Copyright © 2015. All rights reserved.