|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.yan.lifecycle.ExceptionHandlers
public class ExceptionHandlers
Facade class to provide some basic ExceptionHandler implementations.
Codehaus.org.
| Constructor Summary | |
|---|---|
ExceptionHandlers()
|
|
| Method Summary | |
|---|---|
static ExceptionHandler |
printer()
Get an ExceptionHandler object that prints the stack trace to System.err. |
static ExceptionHandler |
printer(java.io.PrintStream out)
Get an ExceptionHandler object that prints the stack trace to a PrintStream object. |
static ExceptionHandler |
suppresser()
Get an ExceptionHandler object that silently ignores any exception thrown out of the action. |
static ExceptionHandler |
thrower()
Get an ExceptionHandler object that re-throw the exception. |
static ExceptionHandler |
writer(java.io.PrintWriter out)
Get an ExceptionHandler object that prints the stack trace to a PrintWriter object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionHandlers()
| Method Detail |
|---|
public static ExceptionHandler printer()
public static ExceptionHandler printer(java.io.PrintStream out)
public static ExceptionHandler writer(java.io.PrintWriter out)
public static ExceptionHandler suppresser()
public static ExceptionHandler thrower()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||