public class ValidationErrorsException extends Exception implements Iterable<String>
Constructor and Description |
---|
ValidationErrorsException() |
ValidationErrorsException(String firstError) |
Modifier and Type | Method and Description |
---|---|
void |
add(String error) |
protected ArrayList<String> |
getLazilyCreatedExceptionsList() |
String |
getMessage() |
boolean |
isEmpty() |
Iterator<String> |
iterator() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ValidationErrorsException()
public ValidationErrorsException(String firstError)
public boolean isEmpty()
public void add(String error)
public String getMessage()
getMessage
in class Throwable