Package eu.bandm.tools.tdom.runtime
Class TdomAttributeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
eu.bandm.tools.tdom.runtime.TdomException
eu.bandm.tools.tdom.runtime.TdomAttributeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TdomAttributeMissingException
,TdomAttributeSyntaxException
,TdomAttributeUndefException
Signals that, when initializing a model instance,
the treatment of one particular attribute does not fulfill the definitions
for the currently parsed element, as defined by the DTD.
Raised out of
TypedElement
and from the code generated for the elements' classes.- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTdomAttributeException
(@Opt Locatable<?> loc, @Opt TypedAttribute attr) TdomAttributeException
(@Opt Locatable<?> loc, @Opt TypedAttribute attr, @Opt String value) -
Method Summary
Methods inherited from class eu.bandm.tools.tdom.runtime.TdomException
contextString, extract, getContextElementNSName, getLocation, setContext, setContext, setContextAndLocation, setContextAndLocation, setLocation
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
attr
-
value
-
-
Constructor Details
-
TdomAttributeException
- Parameters:
attr
- the Attribute causing this exception. In case of an "attribute name is unknown" error, this field stays ==null, naturally.
-
TdomAttributeException
public TdomAttributeException(@Opt @Opt Locatable<?> loc, @Opt @Opt TypedAttribute attr, @Opt @Opt String value) - Parameters:
attr
- the Attribute causing this exception. In case of an "attribute name is unknown" error, this field stays ==null, naturally.
-
-
Method Details
-
getAttribute
-
getValue
-