|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.share.util.DebugUtils
Debugging utilities.
Method Summary | |
static javax.servlet.ServletException |
createServletException(java.lang.String message,
java.lang.Throwable rootCause)
Creates a ServletException, using a constructor that preserves the rootCause if that constructor is available. |
static java.lang.Throwable |
getRootCause(java.lang.Throwable t)
Given a Throwable, attempts to find the Throwable that caused it. |
static java.lang.String |
getStackTraceAsHTMLString(java.lang.Throwable t,
int maxLines)
Converts a Throwable into a String with embedded HTML markup. |
static java.lang.String |
getStackTraceAsHTMLString(java.lang.Throwable t,
int maxLines,
java.util.Locale locale)
Converts a Throwable into a String with embedded HTML markup. |
static java.lang.String |
getStackTraceAsString(java.lang.Throwable t)
Converts a Throwable into a String. |
static java.lang.String |
getStackTraceAsString(java.lang.Throwable t,
java.util.Locale locale)
Converts a Throwable into a String. |
static void |
sendHttpError(javax.servlet.http.HttpServletResponse response,
java.lang.Throwable t)
Sends an HTTP error response for the Throwable. |
static java.lang.String |
toString(java.lang.Throwable t,
java.util.Locale locale)
Returns a localized version of Throwable.toString(). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static javax.servlet.ServletException createServletException(java.lang.String message, java.lang.Throwable rootCause)
public static java.lang.Throwable getRootCause(java.lang.Throwable t)
public static java.lang.String getStackTraceAsString(java.lang.Throwable t, java.util.Locale locale)
public static java.lang.String toString(java.lang.Throwable t, java.util.Locale locale)
public static java.lang.String getStackTraceAsString(java.lang.Throwable t)
public static java.lang.String getStackTraceAsHTMLString(java.lang.Throwable t, int maxLines, java.util.Locale locale)
public static java.lang.String getStackTraceAsHTMLString(java.lang.Throwable t, int maxLines)
public static void sendHttpError(javax.servlet.http.HttpServletResponse response, java.lang.Throwable t) throws java.io.IOException
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |