public class ValidationException extends Exception
Constructor and Description |
---|
ValidationException()
Constructor for ValidationException.
|
ValidationException(Collection<Exception> errors)
Constructor for ValidationException.
|
ValidationException(String message)
Constructor for ValidationException.
|
ValidationException(String message,
Collection<Exception> errors)
Constructor for ValidationException.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Returns the detail message string.
|
Collection<Exception> |
getValidationExceptions()
Returns collection of errors.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ValidationException()
public ValidationException(String message)
message
- exception message.public ValidationException(Collection<Exception> errors)
errors
- collection of validation exceptions.public ValidationException(String message, Collection<Exception> errors)
message
- exception message.errors
- collection of validation exceptions.public Collection<Exception> getValidationExceptions()
public String getMessage()
getMessage
in class Throwable
Copyright 2001-2019, Terracotta, Inc.