Package eu.bandm.tools.tdom.runtime
Class TdomAttributeSyntaxException
java.lang.Object
java.lang.Throwable
java.lang.Exception
eu.bandm.tools.tdom.runtime.TdomException
eu.bandm.tools.tdom.runtime.TdomAttributeException
eu.bandm.tools.tdom.runtime.TdomAttributeSyntaxException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TdomAttributeFixedException
Signals that, when initializing or updating a model instance,
the value assigned to one particular attribute does not match the syntax
defined by the DTD.
Raised out of the subclasses of
TypedAttribute
.
The special value "null
" stands for a "not-present" value and is allowed
only for the attributes declared as "#IMPLIED
". Therefore an unallowed
null value is also reported by a TdomAttributeSyntaxException
.
- See Also:
-
Field Summary
Fields inherited from class eu.bandm.tools.tdom.runtime.TdomAttributeException
attr, value
-
Constructor Summary
ConstructorDescriptionTdomAttributeSyntaxException
(@Opt Locatable<?> loc, TypedAttribute attr, @Opt String value) -
Method Summary
Methods inherited from class eu.bandm.tools.tdom.runtime.TdomAttributeException
getAttribute, getValue
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, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TdomAttributeSyntaxException
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-