|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.dpml.util.ExceptionHelper
General utilities supporting the packaging of exception messages.
| Method Summary | |
static String |
packException(String message,
Throwable e)
Returns the exception and causal exceptions as a formatted string. |
static String |
packException(String message,
Throwable[] e,
boolean stack)
Returns the exception and causal exceptions as a formatted string. |
static String |
packException(String message,
Throwable e,
boolean stack)
Returns the exception and causal exceptions as a formatted string. |
static String |
packException(Throwable e)
Returns the exception and causal exceptions as a formatted string. |
static String |
packException(Throwable e,
boolean stack)
Returns the exception and causal exceptions as a formatted string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static String packException(Throwable e)
e - the exception
public static String packException(Throwable e,
boolean stack)
e - the exceptionstack - TRUE to generate a stack trace
public static String packException(String message,
Throwable e)
message - the header messagee - the exception
public static String packException(String message,
Throwable e,
boolean stack)
message - the header messagee - the exceptionstack - TRUE to generate a stack trace
public static String packException(String message,
Throwable[] e,
boolean stack)
message - the header messagee - the exceptionsstack - TRUE to generate a stack trace
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||