public class ValidationException extends Exception
FieldValidator,
RowValidator,
ConfigurationValidator,
Serialized Form| Constructor and Description |
|---|
ValidationException(List<String> errorMessages)
Create a new ValidationException with the specified validation error messages.
|
ValidationException(String errorMessage)
Create a new ValidationException with the specified validation error message.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getErrorMessages()
Gets the validation error messages.
|
String |
getMessage()
Returns the detail message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ValidationException(String errorMessage)
errorMessage - the error message to display to the user.public List<String> getErrorMessages()
public String getMessage()
getMessage in class ThrowableCopyright 2019 Ping Identity Corp. All rights reserved.