public class ValidationException extends Exception
Constructor and Description |
---|
ValidationException()
Constructs a new instance of this class with
null as its
detail message. |
ValidationException(String message)
Constructs a new instance of this class with the specified detail
message.
|
ValidationException(String message,
Throwable rootCause)
Constructs a new instance of this class with the specified detail message
and root cause.
|
ValidationException(Throwable rootCause)
Constructs a new instance of this class with the specified root cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ValidationException()
null
as its
detail message.public ValidationException(String message)
message
- the detail message. The detail message is saved for later
retrieval by the Throwable.getMessage()
method.public ValidationException(String message, Throwable rootCause)
message
- the detail message. The detail message is saved for later
retrieval by the Throwable.getMessage()
method.rootCause
- root failure causepublic ValidationException(Throwable rootCause)
rootCause
- root failure causeCopyright © 2016. All rights reserved.