public final class ProvisionException
extends java.lang.RuntimeException
Constructor and Description |
---|
ProvisionException(java.lang.Iterable<Message> messages)
Creates a ProvisionException containing
messages . |
ProvisionException(java.lang.String message) |
ProvisionException(java.lang.String message,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Message> |
getErrorMessages()
Returns messages for the errors that caused this exception.
|
java.lang.String |
getMessage() |
public ProvisionException(java.lang.Iterable<Message> messages)
messages
.public ProvisionException(java.lang.String message, java.lang.Throwable cause)
public ProvisionException(java.lang.String message)
public java.util.Collection<Message> getErrorMessages()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable