|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException de.smartics.properties.api.core.app.PropertyRootException de.smartics.properties.api.config.domain.ConfigurationException de.smartics.properties.api.config.domain.CompoundConfigurationException
public class CompoundConfigurationException
Signals multiple problems with a configuration.
Constructor Summary | |
---|---|
CompoundConfigurationException(ConfigurationKey key, List<ConfigurationException> exceptions) Convenience constructor without a message and root cause. |
|
CompoundConfigurationException(String message, ConfigurationKey key, List<ConfigurationException> exceptions) Convenience constructor without a root cause. |
|
CompoundConfigurationException(String message, Throwable cause, ConfigurationKey key, List<ConfigurationException> exceptions) Default constructor. |
|
CompoundConfigurationException(Throwable cause, ConfigurationKey key, List<ConfigurationException> exceptions) Convenience constructor without a message. |
Method Summary | |
---|---|
List<ConfigurationException> |
getExceptions() Returns the list of encountered exceptions. |
Methods inherited from class de.smartics.properties.api.config.domain.ConfigurationException |
---|
getKey |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CompoundConfigurationException(ConfigurationKey key, List<ConfigurationException> exceptions)
key
- the key to the configuration that signaled problems.
exceptions
- the list of encountered exceptions.
public CompoundConfigurationException(String message, ConfigurationKey key, List<ConfigurationException> exceptions)
message
- the detail message (which is saved for later retrieval by the
Throwable.getMessage()
method).
key
- the key to the configuration that signaled problems.
exceptions
- the list of encountered exceptions.
public CompoundConfigurationException(Throwable cause, ConfigurationKey key, List<ConfigurationException> exceptions)
cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A
null value is permitted, and indicates that the cause is nonexistent or unknown.)
key
- the key to the configuration that signaled problems.
exceptions
- the list of encountered exceptions.
public CompoundConfigurationException(String message, Throwable cause, ConfigurationKey key, List<ConfigurationException> exceptions)
message
- the detail message (which is saved for later retrieval by the
Throwable.getMessage()
method).
cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A
null value is permitted, and indicates that the cause is nonexistent or unknown.)
key
- the key to the configuration that signaled problems.
exceptions
- the list of encountered exceptions.
Method Detail |
---|
public final List<ConfigurationException> getExceptions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |