Serializable
public 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, wait
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
Copyright © 2006–2018 Google, Inc.. All rights reserved.