|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.knowledgeplaza.util.ExceptionUtil
public class ExceptionUtil
| Constructor Summary | |
|---|---|
ExceptionUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
describe(java.lang.Throwable t)
Fetch all possible data from an exception (causes, extra info, next exceptions, ...) as a string |
static java.lang.String |
describeExtended(java.lang.Throwable t)
Fetch all possible data from an exception (causes, extra info, next exceptions, ...) as a string plus environment information like system properties. |
static java.lang.String |
determineDisplayableMessage(java.lang.Throwable t)
Create a displayable exception test |
static java.lang.Throwable |
findThrowableInChain(java.lang.Throwable t,
java.lang.Class clazz)
|
static java.lang.String |
getStacktrace(java.lang.Throwable t)
Return the stacktrace of a throwable as a string |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionUtil()
| Method Detail |
|---|
public static java.lang.String getStacktrace(java.lang.Throwable t)
t - Throwable to be stacktraced
public static java.lang.String determineDisplayableMessage(java.lang.Throwable t)
t -
public static java.lang.String describe(java.lang.Throwable t)
t -
public static java.lang.String describeExtended(java.lang.Throwable t)
t -
public static java.lang.Throwable findThrowableInChain(java.lang.Throwable t,
java.lang.Class clazz)
t - clazz -
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||