|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Error avrora.Avrora.Error avrora.Avrora.Unexpected
The Unexpected
class wraps an unexpected exception that may happen during
execution. This is useful for a "catch all" type of clause to handle all the possible
exceptions that could happen during execution without having to write explicit handlers
for each.
Field Summary | |
java.lang.Throwable |
thrown
|
Fields inherited from class avrora.Avrora.Error |
message, param, STACKTRACES |
Constructor Summary | |
Avrora.Unexpected(java.lang.Throwable t)
|
Method Summary | |
void |
report()
|
void |
rethrow()
|
Methods inherited from class avrora.Avrora.Error |
getParam |
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 |
Field Detail |
public final java.lang.Throwable thrown
Constructor Detail |
public Avrora.Unexpected(java.lang.Throwable t)
Method Detail |
public void report()
report
in class Avrora.Error
public void rethrow() throws java.lang.Throwable
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |