public class InputValidationException extends Exception
The InputValidationException
is thrown by the InputValidator
s to indicate that information supplied
by clients (e.g. username and password) is not valid (has unexpected tokens, doens't adhere to a pre-defined pattern,
etc).
Constructor and Description |
---|
InputValidationException()
Creates an instance of
InputValidationException . |
InputValidationException(String message)
Creates an instance of
InputValidationException with the specified error message. |
InputValidationException(String message,
Throwable cause)
Creates an instance of
InputValidationException with the specified message and cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InputValidationException()
Creates an instance of InputValidationException
.
public InputValidationException(String message)
Creates an instance of InputValidationException
with the specified error message.
message
- a String
representing the exception's message.public InputValidationException(String message, Throwable cause)
Creates an instance of InputValidationException
with the specified message and cause.
message
- a String
representing the exception's message.cause
- a Throwable
representing the cause of the exception, if available.Copyright © 2016 JBoss by Red Hat. All rights reserved.