public class ValidationException extends RuntimeException
| Modifier and Type | Method and Description |
|---|---|
static ValidationException |
getInstance(String message)
Construct an Exception with message.
|
static ValidationException |
getInstance(String message,
Throwable cause)
Construct an Exception with message and cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static ValidationException getInstance(String message)
message - The description of the exception.public static ValidationException getInstance(String message, Throwable cause)
message - The description of the exception.cause - The cause of the exception.Copyright © 2010–2021. All rights reserved.