Class MissingIDException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.apache.creadur.whisker.fromxml.InvalidXmlException
org.apache.creadur.whisker.fromxml.MissingIDException
- All Implemented Interfaces:
Serializable
Indicates that the element linked by ID is missing.
- See Also:
-
Constructor Summary
ConstructorDescriptionMissingIDException
(String linkedElement, String linkingElement, String id) Constructs an instance. -
Method Summary
Modifier and TypeMethodDescriptiongetId()
Gets the ID whose linked element is missing.Gets the name of the missing element linked by ID.Gets the name of the present element linked to a missing element by an ID.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MissingIDException
Constructs an instance.- Parameters:
linkedElement
- not nulllinkingElement
- not nullid
- not null
-
-
Method Details
-
getLinkedElement
Gets the name of the missing element linked by ID.- Returns:
- not null
-
getLinkingElement
Gets the name of the present element linked to a missing element by an ID.- Returns:
- not null
-
getId
Gets the ID whose linked element is missing.- Returns:
- not null
-