public final class ProvisionException extends RuntimeException
Constructor and Description |
---|
ProvisionException(Iterable<Message> messages)
Creates a ProvisionException containing
messages . |
ProvisionException(String message) |
ProvisionException(String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Collection<Message> |
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 ProvisionException(Iterable<Message> messages)
messages
.public ProvisionException(String message)
public Collection<Message> getErrorMessages()
public String getMessage()
getMessage
in class Throwable