public final class ProvisionException extends RuntimeException
| Constructor and Description |
|---|
ProvisionException(Iterable
Creates a ProvisionException containing
messages.
|
ProvisionException(String
|
ProvisionException(String
|
| Modifier and Type | Method and Description |
|---|---|
Collection |
getErrorMessages()
Returns messages for the errors that caused this exception.
|
String |
getMessage()
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ProvisionException(Iterable<Message > messages)
messages.
public ProvisionException(Stringmessage)
public Collection<Message > getErrorMessages()
public StringgetMessage()