public class IllegalDataException extends ValidationException
Constructor and Description |
---|
IllegalDataException(ErrorExtEnum error,
String msg)
Creates validation exception with the specified error code and message.
|
IllegalDataException(ErrorExtEnum error,
String msg,
Throwable cause)
Creates validation exception with the specified error code, message and cause.
|
IllegalDataException(String msg)
Creates exception with the message and
InternalErrorEnum.E109 error code. |
IllegalDataException(String msg,
Throwable cause)
Creates exception with the message,
InternalErrorEnum.E109 error code and specified cause. |
getError, getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllegalDataException(String msg)
InternalErrorEnum.E109
error code.msg
- the messagepublic IllegalDataException(String msg, Throwable cause)
InternalErrorEnum.E109
error code and specified cause.msg
- the messagecause
- the throwable that caused this exceptionpublic IllegalDataException(ErrorExtEnum error, String msg)
error
- the error codemsg
- the messagepublic IllegalDataException(ErrorExtEnum error, @Nullable String msg, @Nullable Throwable cause)
error
- the error codemsg
- the messagecause
- the throwable that caused this exceptionCopyright © 2018 Pivotal Software, Inc.. All rights reserved.