|
||||||||||
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.spi.config.transfer.DefinitionXmlMessageBean
public class DefinitionXmlMessageBean
Provides information to signal that there is no definition.xml
file found or the URL to the file cannot be constructed.
Field Summary |
---|
Fields inherited from class de.smartics.exceptions.i18n.AbstractMessageBean |
---|
code, localizedInfo |
Constructor Summary | |
---|---|
DefinitionXmlMessageBean(TransferCode code, ArtifactRef artifact) Constructor without cause. |
|
DefinitionXmlMessageBean(TransferCode code, Throwable cause, ArtifactRef artifact) Default constructor. |
Method Summary | |
---|---|
static TransferMessageBean |
malformedUrl(Throwable cause, ArtifactRef artifact) Creates a message bean with code TransferCode.MALFORMED_URL_TO_DEFINITION_XML . |
static TransferMessageBean |
missingDefinition(Throwable cause, ArtifactRef artifact) Creates a message bean with code TransferCode.NO_DEFINITION_XML . |
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 |
Methods inherited from interface de.smartics.exceptions.i18n.MessageBean |
---|
getCause, getCauseTrail, getCauseTrail, getCode, getLocalizedInfo, getMessage, getMessages |
Constructor Detail |
---|
public DefinitionXmlMessageBean(TransferCode code, ArtifactRef artifact)
code
- the error or exception code of the exception.
artifact
- the reference to the artifact that lacks the
definition.xml
.
public DefinitionXmlMessageBean(TransferCode code, Throwable cause, ArtifactRef artifact)
code
- the error or exception code of the exception.
cause
- the cause to the problem.
artifact
- the reference to the artifact that lacks the
definition.xml
.
Method Detail |
---|
public static TransferMessageBean missingDefinition(Throwable cause, ArtifactRef artifact)
TransferCode.NO_DEFINITION_XML
.
cause
- the cause to the problem.
artifact
- the reference to the artifact that lacks the
definition.xml
.
public static TransferMessageBean malformedUrl(Throwable cause, ArtifactRef artifact)
TransferCode.MALFORMED_URL_TO_DEFINITION_XML
.
cause
- the cause to the problem.
artifact
- the reference to the artifact the URL cannot be constructed to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |