public final class ConfigurationException extends RuntimeException
Constructor and Description |
---|
ConfigurationException(Iterable<Message> messages)
Creates a ConfigurationException containing
messages . |
Modifier and Type | Method and 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.
|
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-2014 Google, Inc.. All Rights Reserved.