|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.i18n.AbstractMessageBean de.smartics.properties.api.core.app.AbstractBaseMessageBean de.smartics.properties.api.config.domain.PropertyStoreMessageBean
public class PropertyStoreMessageBean
Provides context information for problems dealing with property stores.
Field Summary |
---|
Fields inherited from class de.smartics.exceptions.i18n.AbstractMessageBean |
---|
code, localizedInfo |
Constructor Summary | |
---|---|
PropertyStoreMessageBean(ConfigurationsCode code, ConfigurationKey<?> configurationKey, String propertyName) Constructor without cause. |
|
PropertyStoreMessageBean(ConfigurationsCode code, Throwable cause, ConfigurationKey<?> configurationKey, String propertyName) Default constructor. |
Method Summary | |
---|---|
static PropertyStoreMessageBean |
collection(Throwable cause, ConfigurationKey<?> configurationKey) Creates a message bean for PropertyStoreCode.CANNOT_GET_PROPERTY_COLLECTION . |
Methods inherited from class de.smartics.exceptions.i18n.AbstractMessageBean |
---|
getCause, getCauseTrail, getCauseTrail, getClassLoader, getCode, getLocalizedInfo, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedTextMessage, getLocalizedTextMessage, getLocalizedTextMessage, getMessage, getMessage, getMessage, getMessages, getMessages, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyStoreMessageBean(ConfigurationsCode code, ConfigurationKey<?> configurationKey, String propertyName)
code
- the error or exception code of the exception.
configurationKey
- the key to the configuration where problems arise accessing the property store.
propertyName
- the name of the property that cannot be accessed in the store.
public PropertyStoreMessageBean(ConfigurationsCode code, Throwable cause, ConfigurationKey<?> configurationKey, String propertyName)
code
- the error or exception code of the exception.
cause
- the cause to the problem.
configurationKey
- the key to the configuration where problems arise accessing the property store.
propertyName
- the name of the property that cannot be accessed in the store.
Method Detail |
---|
public static PropertyStoreMessageBean collection(Throwable cause, ConfigurationKey<?> configurationKey)
PropertyStoreCode.CANNOT_GET_PROPERTY_COLLECTION
.
cause
- the cause to the problem.
configurationKey
- the key to the configuration where problems arise accessing the property store.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |