org.activemath.omdocjdom
Class MBaseBuildException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.activemath.omdocjdom.MBaseBuildException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NoSuchIDException

public class MBaseBuildException
extends RuntimeException

This exception caused if some thing wrong in the omdoc Document.

See Also:
Serialized Form

Constructor Summary
MBaseBuildException(org.jdom.JDOMException ex)
           
MBaseBuildException(String message, String filePath, int lineNr, int columnNr)
           
 
Method Summary
 int getColumnNr()
           
 int getLineNr()
           
 String getRelativePath()
           
 String getSystemId()
           
 void printDetailedError(PrintStream out)
          Prints the error in a short form: displays the element name and attributes, the containing ID and the document.
 void printError(PrintStream out)
          Prints the error in a short form: displays the element name and attributes, the containing ID and the document.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MBaseBuildException

public MBaseBuildException(org.jdom.JDOMException ex)

MBaseBuildException

public MBaseBuildException(String message,
                           String filePath,
                           int lineNr,
                           int columnNr)
Method Detail

getSystemId

public String getSystemId()

getRelativePath

public String getRelativePath()

getLineNr

public int getLineNr()

getColumnNr

public int getColumnNr()

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.


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.