Serializable
public final class ConfigurationException extends RuntimeException
Constructor | Description |
---|---|
ConfigurationException(Iterable<Message> messages) |
Creates a ConfigurationException containing
messages . |
Modifier and Type | Method | Description |
---|---|---|
Collection<Message> |
getErrorMessages() |
Returns messages for the errors that caused this exception.
|
String |
getMessage() |
|
<E> E |
getPartialValue() |
Returns a value that was only partially computed due to this exception.
|
ConfigurationException |
withPartialValue(Object partialValue) |
Returns a copy of this configuration exception with the specified partial value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ConfigurationException withPartialValue(Object partialValue)
public Collection<Message> getErrorMessages()
public <E> E getPartialValue()
null
if none was set. The type of the partial value is
specified by the throwing method.public String getMessage()
getMessage
in class Throwable
Copyright © 2006–2018 Google, Inc.. All rights reserved.