sbrt.kernel.math
Class InfeasibleSolutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by sbrt.kernel.math.InfeasibleSolutionException
All Implemented Interfaces:
java.io.Serializable

public class InfeasibleSolutionException
extends java.lang.RuntimeException

This class is used to indicate that no feasible solution exists.

Author:
This class was written and documented by Jeremiah Wright while in the Wagner lab.
See Also:
Serialized Form

Constructor Summary
InfeasibleSolutionException(java.lang.Object direction)
          Constructs a new infeasible solution exception.
InfeasibleSolutionException(java.lang.Object direction, java.lang.String message)
          Constructs a new infeasible solution exception.
InfeasibleSolutionException(java.lang.Object direction, java.lang.String message, java.lang.Throwable cause)
          Constructs a new infeasible solution exception.
InfeasibleSolutionException(java.lang.Object direction, java.lang.Throwable cause)
          Constructs a new infeasible solution exception.
 
Method Summary
 java.lang.Object getDirection()
          Returns the variable, or direction in hyperspace, in which infeasibility was first detected.
 
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

InfeasibleSolutionException

public InfeasibleSolutionException(java.lang.Object direction)
Constructs a new infeasible solution exception.

Parameters:
direction - the variable, or direction in hyperspace, in which infeasibility was first detected.

InfeasibleSolutionException

public InfeasibleSolutionException(java.lang.Object direction,
                                   java.lang.String message)
Constructs a new infeasible solution exception.

Parameters:
direction - the variable, or direction in hyperspace, in which infeasibility was first detected.
message - an error message useful for debugging.

InfeasibleSolutionException

public InfeasibleSolutionException(java.lang.Object direction,
                                   java.lang.Throwable cause)
Constructs a new infeasible solution exception.

Parameters:
direction - the variable, or direction in hyperspace, in which infeasibility was first detected.
cause - the exception thrown to indicate an infeasible solution.

InfeasibleSolutionException

public InfeasibleSolutionException(java.lang.Object direction,
                                   java.lang.String message,
                                   java.lang.Throwable cause)
Constructs a new infeasible solution exception.

Parameters:
direction - the variable, or direction in hyperspace, in which infeasibility was first detected.
message - an error message useful for debugging.
cause - the exception thrown to indicate an infeasible solution.
Method Detail

getDirection

public java.lang.Object getDirection()
Returns the variable, or direction in hyperspace, in which infeasibility was first detected.

Returns:
the variable, or direction in hyperspace, in which infeasibility was first detected.