sbrt.kernel.math.optimization
Class ProgramSolverException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by sbrt.ext.ExternalSoftwareException
                  extended by sbrt.kernel.math.optimization.ProgramSolverException
All Implemented Interfaces:
java.io.Serializable

public class ProgramSolverException
extends ExternalSoftwareException

This class is used to wrap exceptions thrown by program solver packages. If an exception is thrown by a program solver 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

Constructor Summary
ProgramSolverException(java.lang.String message, java.lang.Throwable cause)
          Constructs a wrapped program solver exception.
ProgramSolverException(java.lang.Throwable cause)
          Constructs a wrapped program solver exception.
 
Method Summary
 
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

ProgramSolverException

public ProgramSolverException(java.lang.Throwable cause)
Constructs a wrapped program solver exception.

Parameters:
cause - the original exception throw by the program solver package.

ProgramSolverException

public ProgramSolverException(java.lang.String message,
                              java.lang.Throwable cause)
Constructs a wrapped program solver exception.

Parameters:
message - a descriptive message useful for debugging.
cause - the original exception throw by the program solver package.