Class TdomAttributeException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TdomAttributeMissingException, TdomAttributeSyntaxException, TdomAttributeUndefException

public abstract class TdomAttributeException extends TdomException
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 Details

  • Constructor Details

    • TdomAttributeException

      public TdomAttributeException(@Opt @Opt Locatable<?> loc, @Opt @Opt TypedAttribute attr)
      Parameters:
      loc - the location (as precise as possible)
      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.
      value - the offending value string, of null for the special value "unspecified".
  • Method Details