|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
codesimian.ThrowDoCatch
public class ThrowDoCatch
just before this object is thrown (by java keyword throw), you must set its action (in the constructor) so after you handle the error, you can continue approximately what you were doing just before you threw this by executing that ACTION. Or it can be any action to do after handling the error.
Constructor Summary | |
---|---|
ThrowDoCatch(CS action)
|
Method Summary | |
---|---|
void |
doAction()
|
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 |
---|
public ThrowDoCatch(CS action)
Method Detail |
---|
public void doAction()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |