sbrt.kernel.fba.comp
Class FluxRangeException

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

public class FluxRangeException
extends java.lang.RuntimeException

This class is used to indicate that the range of a flux interval has exceeded a defined cutoff value.

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

Constructor Summary
FluxRangeException(double rangeCutoff, java.lang.Object offender)
          Constructs a new flux range exception.
FluxRangeException(double rangeCutoff, java.lang.Object offender, java.lang.String message)
          Constructs a new flux range exception.
 
Method Summary
 java.lang.Object getOffender()
          Returns the object whose range has exceeded the defined cutoff.
 double getRangeCutoff()
          Returns the defined range cutoff.
 
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

FluxRangeException

public FluxRangeException(double rangeCutoff,
                          java.lang.Object offender,
                          java.lang.String message)
Constructs a new flux range exception.

Parameters:
rangeCutoff - the defined range cutoff value.
offender - the object whose range has exceeded the defined cutoff.
message - a message useful for debugging.

FluxRangeException

public FluxRangeException(double rangeCutoff,
                          java.lang.Object offender)
Constructs a new flux range exception.

Parameters:
rangeCutoff - the defined range cutoff value.
offender - the object whose range has exceeded the defined cutoff.
Method Detail

getRangeCutoff

public double getRangeCutoff()
Returns the defined range cutoff.

Returns:
the defined range cutoff.

getOffender

public java.lang.Object getOffender()
Returns the object whose range has exceeded the defined cutoff.

Returns:
the object whose range has exceeded the defined cutoff.