org.activemath.util.OMconverters
Class OMConvertException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.activemath.util.OMconverters.OMConvertException
All Implemented Interfaces:
Serializable

public class OMConvertException
extends Exception

Class OMConvertException

Exception which should be thrown if an error occurs during conversion

Version:
1.0
See Also:
Serialized Form

Constructor Summary
OMConvertException()
          Konstruktor
OMConvertException(String error)
          Konstruktor
OMConvertException(String error, Throwable t)
          Konstruktor
OMConvertException(Throwable t)
          Konstruktor
 
Method Summary
 Throwable getUnderlyingException()
          possible underlying excetion for the throwing of this one
 void printStackTrace()
          Method for debugging providing all exception messages to standard output
 void printStackTrace(PrintStream out)
          Method for debugging providing all exception messages to the given PrintStream
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OMConvertException

public OMConvertException()
Konstruktor


OMConvertException

public OMConvertException(String error)
Konstruktor

Parameters:
error - the error as String

OMConvertException

public OMConvertException(Throwable t)
Konstruktor

Parameters:
error - the error as String
t - possible previously thrown underlying exception

OMConvertException

public OMConvertException(String error,
                          Throwable t)
Konstruktor

Parameters:
error - the error as String
t - possible previously thrown underlying exception
Method Detail

getUnderlyingException

public Throwable getUnderlyingException()
possible underlying excetion for the throwing of this one

Returns:
underlying excetion or null, if there is none.

printStackTrace

public void printStackTrace(PrintStream out)
Method for debugging providing all exception messages to the given PrintStream

Overrides:
printStackTrace in class Throwable
Parameters:
out - the PrintStream to write to

printStackTrace

public void printStackTrace()
Method for debugging providing all exception messages to standard output

Overrides:
printStackTrace in class Throwable