public class ODataParserException extends ODataException
Modifier and Type | Class and Description |
---|---|
static class |
ODataParserException.ErrorCode
Parser error codes used by
ODataParserException . |
ODataException.AbstractErrorCode
errorCode
Constructor and Description |
---|
ODataParserException(ODataParserException.ErrorCode errorCode)
Creates a new parser exception with the specified error code.
|
ODataParserException(ODataParserException.ErrorCode errorCode,
java.lang.String additionalInfo)
Creates a new parser exception with the specified error code and additional info.
|
ODataParserException(ODataParserException.ErrorCode errorCode,
java.lang.String additionalInfo,
java.lang.Throwable cause)
Creates a new parser exception with the specified error code, additional info and cause.
|
ODataParserException(ODataParserException.ErrorCode errorCode,
java.lang.Throwable cause)
Creates a new parser exception with the specified error code and cause.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
public ODataParserException(ODataParserException.ErrorCode errorCode)
errorCode
- the error code, must be non-nullpublic ODataParserException(ODataParserException.ErrorCode errorCode, java.lang.Throwable cause)
errorCode
- the error code, must be non-nullcause
- the causing exception, must be non-nullpublic ODataParserException(ODataParserException.ErrorCode errorCode, java.lang.String additionalInfo)
errorCode
- the error code, must be non-nulladditionalInfo
- the additional info, can be nullpublic ODataParserException(ODataParserException.ErrorCode errorCode, java.lang.String additionalInfo, java.lang.Throwable cause)
errorCode
- the error code, must be non-nulladditionalInfo
- the additional info, can be nullcause
- the causing exception, must be non-nullpublic java.lang.String getMessage()
getMessage
in class ODataException