@ThreadSafe public final class CatcherP<S> extends Object implements Catcher<S>
Constructor and Description |
---|
CatcherP() |
Modifier and Type | Method and Description |
---|---|
void |
catchError(S source,
Error r)
Immediately re-throws the error.
|
void |
catchException(S source,
Exception x)
Calls Catcher.U.printStackTrace( source, x, System.err ).
|
static <S> CatcherP<S> |
i()
A common instance of CatcherP.
|
public CatcherP()
public void catchError(S source, Error r)
catchError
in interface Catcher<S>
source
- The logical source of the error.public void catchException(S source, Exception x)
catchException
in interface Catcher<S>
source
- The logical source of the exception.