|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cactus.util.StringUtil
Various utility methods for string manipulation.
Constructor Summary | |
StringUtil()
|
Method Summary | |
static java.lang.String |
exceptionToString(java.lang.Throwable theThrowable)
Returns the stack trace of an exception as String. |
static java.lang.String |
exceptionToString(java.lang.Throwable theThrowable,
java.lang.String[] theFilterPatterns)
Returns the stack trace of an exception as String, optionally filtering out line from the stack trac |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StringUtil()
Method Detail |
public static java.lang.String exceptionToString(java.lang.Throwable theThrowable)
theThrowable
- the exception from which to extract the stack trace
as a String
public static java.lang.String exceptionToString(java.lang.Throwable theThrowable, java.lang.String[] theFilterPatterns)
theThrowable
- the exception from which to extract the stack trace
as a StringtheFilterPatterns
- Array containing a list of patterns to filter
out from the stack trace
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |