|
||||||||||
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.core.domain.ConfigMessageBean
public final class ConfigMessageBean
Provides information about problems encountered when properties definitions cannot be parsed.
Field Summary |
---|
Fields inherited from class de.smartics.exceptions.i18n.AbstractMessageBean |
---|
code, localizedInfo |
Method Summary | |
---|---|
static ConfigMessageBean |
duplicate(String systemId, String currentDefaultKey, String duplicateDefaultKey) Creates a message bean signaling a duplicate key problem. |
static ConfigMessageBean |
namespace(String systemId, String expectedNamespace, String actualNamespace) Creates a message bean signaling a namespace problem. |
static ConfigMessageBean |
systemId(ConfigCode code, String systemId) Creates a message bean without cause and no namespace information. |
static ConfigMessageBean |
systemId(ConfigCode code, Throwable cause, String systemId) Creates a message bean without namespace information. |
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 |
Method Detail |
---|
public static ConfigMessageBean systemId(ConfigCode code, String systemId)
code
- the error or exception code of the exception.
systemId
- the resource that cannot be read.
public static ConfigMessageBean systemId(ConfigCode code, Throwable cause, String systemId)
code
- the error or exception code of the exception.
cause
- the cause (which is saved for later retrieval by the
AbstractMessageBean.getCause()
method). (A
null value is permitted, and indicates that the cause is nonexistent or unknown.)
systemId
- the resource that cannot be read.
public static ConfigMessageBean duplicate(String systemId, String currentDefaultKey, String duplicateDefaultKey)
systemId
- the resource that cannot be read.
currentDefaultKey
- the key that has already been recognized as default.
duplicateDefaultKey
- the second key that has been recognized as default.
public static ConfigMessageBean namespace(String systemId, String expectedNamespace, String actualNamespace)
systemId
- the resource that cannot be read.
expectedNamespace
- the expected namespace.
actualNamespace
- the namespace that has actually been encountered.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |