|
||||||||||
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.exceptions.AbstractCoreRuntimeException de.smartics.exceptions.i18n.AbstractMessageRuntimeException de.smartics.properties.api.core.app.PropertyRootException de.smartics.properties.api.config.codes.ConfigurationRootException de.smartics.properties.api.config.domain.ConfigurationException de.smartics.properties.api.config.domain.DuplicateConfigurationException
public final class DuplicateConfigurationException
Signals that a configuration with the given key has already been registered.
Field Summary |
---|
Fields inherited from class de.smartics.exceptions.i18n.AbstractMessageRuntimeException |
---|
messageBean |
Fields inherited from class de.smartics.exceptions.AbstractCoreRuntimeException |
---|
info |
Constructor Summary | |
---|---|
DuplicateConfigurationException(ConfigurationKey<?> key, ConfigurationPropertiesManagement currentConfigurationProperties, ConfigurationPropertiesManagement duplicateConfigurationProperties) Convenience constructor without root cause. |
|
DuplicateConfigurationException(Throwable cause, ConfigurationKey<?> key, ConfigurationPropertiesManagement currentConfigurationProperties, ConfigurationPropertiesManagement duplicateConfigurationProperties) Default Constructor. |
Method Summary | |
---|---|
ConfigurationPropertiesManagement |
getCurrentConfigurationProperties() Returns the configuration that has been registered and is currently active. |
ConfigurationPropertiesManagement |
getDuplicateConfigurationProperties() Returns the configuration that is a duplication of the current configuration and has been rejected from being registered with the given key. |
Methods inherited from class de.smartics.properties.api.config.domain.ConfigurationException |
---|
getKey |
Methods inherited from class de.smartics.exceptions.i18n.AbstractMessageRuntimeException |
---|
createMessages, createMessages, getCauseTrail, getCauseTrail, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedTextMessage, getLocalizedTextMessage, getLocalizedTextMessage, getMessage, getMessage, getMessage, getMessageBean, getMessages, getMessages, toString |
Methods inherited from class de.smartics.exceptions.AbstractCoreRuntimeException |
---|
getCause, getClassLoader, getCode, getId, getTime, truncateCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.smartics.exceptions.CoreException |
---|
getCause, getCode, getId, getStackTrace, getTime, setStackTrace, truncateCause |
Constructor Detail |
---|
public DuplicateConfigurationException(ConfigurationKey<?> key, ConfigurationPropertiesManagement currentConfigurationProperties, ConfigurationPropertiesManagement duplicateConfigurationProperties)
key
- the key to the configuration that signaled problems.
currentConfigurationProperties
- the configuration that has been registered and is currently active.
duplicateConfigurationProperties
- the configuration that is a duplication of the current configuration and has been rejected from being registered with the given key.
public DuplicateConfigurationException(Throwable cause, ConfigurationKey<?> key, ConfigurationPropertiesManagement currentConfigurationProperties, ConfigurationPropertiesManagement duplicateConfigurationProperties)
cause
- the cause (which is saved for later retrieval by the
AbstractCoreRuntimeException.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.
currentConfigurationProperties
- the configuration that has been registered and is currently active.
duplicateConfigurationProperties
- the configuration that is a duplication of the current configuration and has been rejected from being registered with the given key.
Method Detail |
---|
public ConfigurationPropertiesManagement getCurrentConfigurationProperties()
public ConfigurationPropertiesManagement getDuplicateConfigurationProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |