java.io.Serializablepublic final class ConfigurationException
extends java.lang.RuntimeException
| Constructor | Description |
|---|---|
ConfigurationException(java.lang.Iterable<Message> messages) |
Creates a ConfigurationException containing
messages. |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Collection<Message> |
getErrorMessages() |
Returns messages for the errors that caused this exception.
|
java.lang.String |
getMessage() |
|
<E> E |
getPartialValue() |
Returns a value that was only partially computed due to this exception.
|
ConfigurationException |
withPartialValue(java.lang.Object partialValue) |
Returns a copy of this configuration exception with the specified partial value.
|
public ConfigurationException(java.lang.Iterable<Message> messages)
messages.public ConfigurationException withPartialValue(java.lang.Object partialValue)
public java.util.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 java.lang.String getMessage()
getMessage in class java.lang.Throwable