|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException sysModel.fish.FishException
public class FishException
Exception during fish simulation.
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 |
---|
private java.lang.Throwable _target
Constructor Detail |
---|
public FishException(java.lang.Throwable target)
target
- the _target exceptionMethod Detail |
---|
public java.lang.Throwable getTargetException()
public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |