sbrt.ext.mma
Class MathematicaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
sbrt.ext.ExternalSoftwareException
sbrt.ext.mma.MathematicaException
- All Implemented Interfaces:
- java.io.Serializable
public class MathematicaException
- extends ExternalSoftwareException
This class is used to wrap exceptions thrown by Mathematica.
- Author:
- This class was written and documented by
Jeremiah Wright while in the Wagner lab.
- See Also:
- Serialized Form
Constructor Summary |
MathematicaException(com.wolfram.jlink.MathLinkException cause)
Constructs an external software exception. |
MathematicaException(java.lang.String message,
com.wolfram.jlink.MathLinkException cause)
Constructs an external software exception. |
Method Summary |
com.wolfram.jlink.MathLinkException |
getCause()
Returns the MathLinkException responsible for this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, 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 |
MathematicaException
public MathematicaException(com.wolfram.jlink.MathLinkException cause)
- Constructs an external software exception.
- Parameters:
cause
- the original exception throw by Mathematica.
MathematicaException
public MathematicaException(java.lang.String message,
com.wolfram.jlink.MathLinkException cause)
- Constructs an external software exception.
- Parameters:
message
- a descriptive message useful for debugging.cause
- the original exception throw by Mathematica.
getCause
public com.wolfram.jlink.MathLinkException getCause()
- Returns the
MathLinkException
responsible for this exception.
- Overrides:
getCause
in class java.lang.Throwable
- Returns:
- the
MathLinkException
responsible for this exception.