public class ValidationFailureException extends HandlerException
MESSAGE_TYPE
Constructor and Description |
---|
ValidationFailureException(Validator<?> validator,
Throwable cause,
String message)
Create a new ValidationFailureException with the specified cause.
|
ValidationFailureException(Validator<?> validator,
ValidationResult result,
String message)
Create a new ValidationFailureException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
ValidationResult |
getValidationResult()
Gets ValidationResult.
|
Validator<?> |
getValidator()
Gets a validator instance which has failed.
|
isWrapper
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ValidationFailureException(Validator<?> validator, ValidationResult result, String message)
validator
- Validator instance which has failedresult
- ValidationResultmessage
- error messagepublic ValidationFailureException(Validator<?> validator, Throwable cause, String message)
validator
- Validator instance which has failedcause
- error causing the handler to fail processingmessage
- error messagepublic Validator<?> getValidator()
public ValidationResult getValidationResult()
Copyright © 2013–2017 JBoss by Red Hat. All rights reserved.