|
JAPI 0.9.0 Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.japi.util.PrintStreamThrowableHandler<T>
public class PrintStreamThrowableHandler<T extends Throwable>
A ThrowableHandler that prints exceptions to a defined PrintStream.
Field Summary | |
---|---|
static PrintStreamThrowableHandler<Throwable> |
STDERR
Static instance for printing to STDERR. |
Constructor Summary | |
---|---|
PrintStreamThrowableHandler(PrintStream stream)
Private Singleton Constructor. |
Method Summary | |
---|---|
void |
handleThrowable(T t)
Handle a Throwable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PrintStreamThrowableHandler<Throwable> STDERR
Constructor Detail |
---|
public PrintStreamThrowableHandler(PrintStream stream)
Method Detail |
---|
public void handleThrowable(T t)
handleThrowable
in interface ThrowableHandler<T extends Throwable>
t
- Throwable to handle
|
JAPI Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |