public class ValidationException extends IntegrationException
If there is validation error than there is no next try, message gets to FAILED state
.
Constructor and Description |
---|
ValidationException(ErrorExtEnum error)
Creates validation exception with the specified error code.
|
ValidationException(ErrorExtEnum error,
String msg)
Creates validation exception with the specified error code and message.
|
ValidationException(ErrorExtEnum error,
String msg,
Throwable cause)
Creates validation exception with the specified error code, message and cause.
|
ValidationException(String msg)
Creates validation exception with the message and
InternalErrorEnum.E102 error code. |
getError, getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ValidationException(String msg)
InternalErrorEnum.E102
error code.msg
- the messagepublic ValidationException(ErrorExtEnum error)
error
- the error codepublic ValidationException(ErrorExtEnum error, String msg)
error
- the error codemsg
- the messagepublic ValidationException(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.