public class ValidationException extends RuntimeException
Constructor and Description |
---|
ValidationException(List<ErrorMessage> messages) |
Modifier and Type | Method and Description |
---|---|
Collection<ErrorMessage> |
getErrorMessages()
Returns messages for the errors that caused this exception.
|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ValidationException(List<ErrorMessage> messages)
public String getMessage()
getMessage
in class Throwable
public Collection<ErrorMessage> getErrorMessages()
Copyright © 2011–2024. All rights reserved.