sysModel.fish
Class FishException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by sysModel.fish.FishException
All Implemented Interfaces:
java.io.Serializable

public class FishException
extends java.lang.RuntimeException

Exception during fish simulation.

See Also:
Serialized Form

Field Summary
private  java.lang.Throwable _target
          The exception that was thrown.
 
Constructor Summary
FishException(java.lang.Throwable target)
          Constructs a FishException with a target exception.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the cause of this exception (the thrown target exception).
 java.lang.Throwable getTargetException()
          Get the thrown target exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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
 

Field Detail

_target

private java.lang.Throwable _target
The exception that was thrown.

Constructor Detail

FishException

public FishException(java.lang.Throwable target)
Constructs a FishException with a target exception.

Parameters:
target - the _target exception
Method Detail

getTargetException

public java.lang.Throwable getTargetException()
Get the thrown target exception.

Returns:
the thrown _target exception (cause of this exception).

getCause

public java.lang.Throwable getCause()
Returns the cause of this exception (the thrown target exception).

Overrides:
getCause in class java.lang.Throwable
Returns:
the cause of this exception.