public class ExceptionUtils extends Object
Constructor and Description |
---|
ExceptionUtils()
Public constructor allows an instance of
ExceptionUtils
to be created, although that is not normally necessary. |
Modifier and Type | Method and Description |
---|---|
static String |
getStackTrace(Throwable throwable)
Gets the stack trace from a Throwable as a String.
|
public ExceptionUtils()
Public constructor allows an instance of ExceptionUtils
to be created, although that is not normally necessary.
public static String getStackTrace(Throwable throwable)
Gets the stack trace from a Throwable as a String.
throwable
- the Throwable
to be examinedprintStackTrace(PrintWriter)
methodCopyright © 2004–1970 The Apache Software Foundation. All rights reserved.