sbrt.kernel.fba.comp
Class InvalidFluxVectorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by sbrt.kernel.fba.comp.InvalidFluxVectorException
All Implemented Interfaces:
java.io.Serializable

public class InvalidFluxVectorException
extends java.lang.RuntimeException

This class is used to indicate that a flux vector is invalid.

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

Constructor Summary
InvalidFluxVectorException(java.util.Map<java.lang.String,java.lang.Double> fluxVector, double tolerance)
          Constructs a new exception for the provided flux vector.
InvalidFluxVectorException(java.util.Map<java.lang.String,java.lang.Double> fluxVector, double tolerance, java.lang.String message)
          Constructs a new exception for the provided flux vector.
InvalidFluxVectorException(java.util.Map<java.lang.String,java.lang.Double> fluxVector, double tolerance, java.lang.String message, java.lang.Throwable cause)
          Constructs a new exception for the provided flux vector.
InvalidFluxVectorException(java.util.Map<java.lang.String,java.lang.Double> fluxVector, double tolerance, java.lang.Throwable cause)
          Constructs a new exception for the provided flux vector.
 
Method Summary
 UnmodifiableMap<java.lang.String,java.lang.Double> getFluxVector()
          Returns the invalid flux vector;
 double getTolerance()
          Returns the numerical tolerance used to check the validity of the flux vector.
 
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

InvalidFluxVectorException

public InvalidFluxVectorException(java.util.Map<java.lang.String,java.lang.Double> fluxVector,
                                  double tolerance)
Constructs a new exception for the provided flux vector.

Parameters:
fluxVector - the invalid flux vector.
tolerance - the numerical tolerance used to check the validity of the flux vector.

InvalidFluxVectorException

public InvalidFluxVectorException(java.util.Map<java.lang.String,java.lang.Double> fluxVector,
                                  double tolerance,
                                  java.lang.String message)
Constructs a new exception for the provided flux vector.

Parameters:
fluxVector - the invalid flux vector.
tolerance - the numerical tolerance used to check the validity of the flux vector.
message - a message useful for debugging.

InvalidFluxVectorException

public InvalidFluxVectorException(java.util.Map<java.lang.String,java.lang.Double> fluxVector,
                                  double tolerance,
                                  java.lang.Throwable cause)
Constructs a new exception for the provided flux vector.

Parameters:
fluxVector - the invalid flux vector.
tolerance - the numerical tolerance used to check the validity of the flux vector.
cause - the exception used to initially indicate that the flux vector is invalid.

InvalidFluxVectorException

public InvalidFluxVectorException(java.util.Map<java.lang.String,java.lang.Double> fluxVector,
                                  double tolerance,
                                  java.lang.String message,
                                  java.lang.Throwable cause)
Constructs a new exception for the provided flux vector.

Parameters:
fluxVector - the invalid flux vector.
tolerance - the numerical tolerance used to check the validity of the flux vector.
message - a message useful for debugging.
cause - the exception used to initially indicate that the flux vector is invalid.
Method Detail

getFluxVector

public UnmodifiableMap<java.lang.String,java.lang.Double> getFluxVector()
Returns the invalid flux vector;

Returns:
the invalid flux vector;

getTolerance

public double getTolerance()
Returns the numerical tolerance used to check the validity of the flux vector.

Returns:
the numerical tolerance used to check the validity of the flux vector.