|
||||||||||
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.impl.config.jndi.JndiContextMessageBean
public class JndiContextMessageBean
Provides context information for problems dealing with JNDI context access.
Field Summary |
---|
Fields inherited from class de.smartics.exceptions.i18n.AbstractMessageBean |
---|
code, localizedInfo |
Constructor Summary | |
---|---|
JndiContextMessageBean(ConfigurationsCode code, String sourceId, String configurationKey) Constructor without cause. |
|
JndiContextMessageBean(ConfigurationsCode code, Throwable cause, String sourceId, String configurationKey) Default constructor. |
Method Summary | |
---|---|
static JndiContextMessageBean |
invalidKey(Throwable cause, String sourceId, String configurationKey) Creates a message bean for JndiPropertyStoreCode.INVALID_CONFIGURATION_KEY . |
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 JndiContextMessageBean(ConfigurationsCode code, String sourceId, String configurationKey)
code
- the error or exception code of the exception.
sourceId
- the identifier of the JNDI context in trouble.
configurationKey
- the key to the configuration where problems arise accessing the property store.
public JndiContextMessageBean(ConfigurationsCode code, Throwable cause, String sourceId, String configurationKey)
code
- the error or exception code of the exception.
cause
- the cause to the problem.
sourceId
- the identifier of the JNDI context in trouble.
configurationKey
- the key to the configuration where problems arise accessing the property store.
Method Detail |
---|
public static JndiContextMessageBean invalidKey(Throwable cause, String sourceId, String configurationKey)
JndiPropertyStoreCode.INVALID_CONFIGURATION_KEY
.
cause
- the cause to the problem.
sourceId
- the identifier of the JNDI context in trouble.
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 |