org.activemath.omdocjdom
Class NoSuchIDException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.activemath.omdocjdom.MBaseBuildException
org.activemath.omdocjdom.NoSuchIDException
- All Implemented Interfaces:
- Serializable
public class NoSuchIDException
- extends MBaseBuildException
A generic exception type to store information about what and where are things wrong.
This exception is used too often. Typically, it is sometimes used to deote a duplicate ID
in which case the refElement and the element obtained by the ElementFromIDTable
with the lastAttemptedID are the two contending elements.
This will be made into a separate class one day.
- Version:
- See Also:
- Serialized Form
CVS_ID
public static final String CVS_ID
- See Also:
- Constant Field Values
refElement
public final OJElement refElement
lastAttemptedID
public final ID lastAttemptedID
NoSuchIDException
public NoSuchIDException(String message,
OJElement refElement,
ID lastAttemptedID)
NoSuchIDException
public NoSuchIDException(String message,
OJElement refElement,
OJSAXBuilder.LocationInfo info,
ID lastAttemptedID)
printStackTrace
public void printStackTrace(PrintWriter out)
- Overrides:
printStackTrace in class Throwable
printStackTrace
public void printStackTrace(PrintStream out)
- Overrides:
printStackTrace in class Throwable
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace in class Throwable
printException
public void printException(PrintWriter out)
- Deprecated.
printException
public void printException(PrintStream out)
- Deprecated.
printException
public void printException()
printError
public void printError(PrintStream out)
- Prints the error in a short form: displays the element name and attributes,
the containing ID and the document.
- Overrides:
printError in class MBaseBuildException
printDetailedError
public void printDetailedError(PrintStream out)
- Prints the error in a short form: displays the element name and attributes,
the containing ID and the document.
- Overrides:
printDetailedError in class MBaseBuildException