|
code.google.com home | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Handler<T>
Receives notification of problems.
| Field Summary | |
|---|---|
static Handler<java.lang.Object> |
DO_NOTHING
A handler that does nothing given any input. |
static Handler<java.lang.Throwable> |
PROPAGATE
A handler that re-raises an error, wrapping it in a runtime exception if necessary. |
| Method Summary | |
|---|---|
void |
handle(T x)
|
| Field Detail |
|---|
static final Handler<java.lang.Object> DO_NOTHING
static final Handler<java.lang.Throwable> PROPAGATE
| Method Detail |
|---|
void handle(T x)
|
code.google.com home | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||