Rethrow (Lucene 3.6.2 API)
Keywords: org.apache.lucene.util.Rethrow class

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

## org.apache.lucene.util
Class Rethrow

    java.lang.Object
      org.apache.lucene.util.Rethrow

    public final class Rethrow

extends Object

Sneaky: rethrowing checked exceptions as unchecked ones. Eh, it is sometimes useful...

Pulled from http://www.javapuzzlers.com (I think?).

Constructor Summary
`Rethrow()`

Method Summary
`static void` | `rethrow(Throwable t)` Rethrows `t` (identical object).

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Rethrow

    public Rethrow()

Method Detail

### rethrow

    public static void rethrow(Throwable t)

  Rethrows `t` (identical object).

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