Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora
Class Avrora.Unexpected

    java.lang.Object
      java.lang.Throwable
          java.lang.Error
              avrora.Avrora.Error
                  avrora.Avrora.Unexpected

All Implemented Interfaces:
  java.io.Serializable

Enclosing class:
  Avrora

public static class Avrora.Unexpected
extends Avrora.Error

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.

See Also:
  Serialized Form

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

### thrown

    public final java.lang.Throwable thrown

Constructor Detail

### Avrora.Unexpected

    public Avrora.Unexpected(java.lang.Throwable t)

Method Detail

### report

    public void report()

  Overrides:
    `report` in class `Avrora.Error`

### rethrow

    public void rethrow()
                 throws java.lang.Throwable

  Throws:
    `java.lang.Throwable`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD