sbrt.ext
Class ExternalSoftwareException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
sbrt.ext.ExternalSoftwareException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- MathematicaException, ProgramSolverException
public class ExternalSoftwareException
- extends java.lang.RuntimeException
This class is used to wrap exceptions thrown by external software packages.
If an exception is thrown by an external software package, and there is no
reasonable way to handle it, it should be caught, wrapped in an instance of
this class, and this new object thrown.
- Author:
- This class was written and documented by
Jeremiah Wright while in the Wagner lab.
- See Also:
- Serialized Form
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 |
ExternalSoftwareException
public ExternalSoftwareException(java.lang.Throwable cause)
- Constructs an external software exception.
- Parameters:
cause
- the original exception throw by the external software
package.
ExternalSoftwareException
public ExternalSoftwareException(java.lang.String message,
java.lang.Throwable cause)
- Constructs an external software exception.
- Parameters:
message
- a descriptive message useful for debugging.cause
- the original exception throw by the external software
package.