sbrt.kernel.fba.comp
Class FluxCapException

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

public class FluxCapException
extends java.lang.RuntimeException

This class is used to indicate that a flux cap is invalid. A flux cap is invalid if it does not cap the flux of the intended reaction.

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

Constructor Summary
FluxCapException(MathExpr<java.lang.String> fluxCap, java.lang.String reactionName)
          Constructs a new flux cap exception.
FluxCapException(MathExpr<java.lang.String> fluxCap, java.lang.String reactionName, java.lang.Throwable cause)
          Constructs a new flux cap exception.
 
Method Summary
 MathExpr<java.lang.String> getFluxCap()
          Returns the invalid flux cap.
 java.lang.String getReactioName()
          Returns the name of the reaction whose flux was intended to be capped.
 
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

FluxCapException

public FluxCapException(MathExpr<java.lang.String> fluxCap,
                        java.lang.String reactionName,
                        java.lang.Throwable cause)
Constructs a new flux cap exception.

Parameters:
fluxCap - the invalid flux cap.
reactionName - the name of the reaction whose flux was intended to be capped.
cause - the cause.

FluxCapException

public FluxCapException(MathExpr<java.lang.String> fluxCap,
                        java.lang.String reactionName)
Constructs a new flux cap exception.

Parameters:
fluxCap - the invalid flux cap.
reactionName - the name of the reaction whose flux was intended to be capped.
Method Detail

getFluxCap

public MathExpr<java.lang.String> getFluxCap()
Returns the invalid flux cap.

Returns:
the invalid flux cap.

getReactioName

public java.lang.String getReactioName()
Returns the name of the reaction whose flux was intended to be capped.

Returns:
the name of the reaction whose flux was intended to be capped.