T
- the type of the problem.public interface Handler<T>
Modifier and Type | Field and Description |
---|---|
static Handler<Object> |
DO_NOTHING
A handler that does nothing given any input.
|
static Handler<Throwable> |
PROPAGATE
A handler that re-raises an error, wrapping it in a runtime exception if
necessary.
|
Modifier and Type | Method and Description |
---|---|
void |
handle(T x)
Called to handle x.
|
void handle(T x)
x
- the problem.Copyright © 2017 OWASP. All rights reserved.