Serializablepublic final class ProvisionException extends RuntimeException
| Constructor | Description |
|---|---|
ProvisionException(Iterable<Message> messages) |
Creates a ProvisionException containing
messages. |
ProvisionException(String message) |
|
ProvisionException(String message,
Throwable cause) |
| Modifier and Type | Method | Description |
|---|---|---|
Collection<Message> |
getErrorMessages() |
Returns messages for the errors that caused this exception.
|
String |
getMessage() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ProvisionException(Iterable<Message> messages)
messages.public ProvisionException(String message)
public Collection<Message> getErrorMessages()
public String getMessage()
getMessage in class ThrowableCopyright © 2006–2018 Google, Inc.. All rights reserved.