|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.usda.gdpc.util.ExceptionUtils
| Field Summary | |
static int |
DEFAULT_MAX_NUMBER_ENTRIES
Default maximun number of entries. |
| Method Summary | |
static java.lang.String |
getExceptionCauses(java.lang.Throwable exception)
This gets an exception's cause history. |
static java.lang.String |
getExceptionCausesWithClassNames(java.lang.Throwable exception)
This gets an exception's cause history. |
static java.lang.String |
getStackTrace(java.lang.Exception exception,
int max)
This sends an exception's stack trace to the specified logger. |
static void |
logExceptionCauses(java.lang.Throwable exception,
org.apache.log4j.Logger logger,
org.apache.log4j.Priority priorty)
This sends an exception's cause history to the specified logger. |
static void |
logStackTrace(java.lang.Exception exception,
int max,
org.apache.log4j.Logger logger,
org.apache.log4j.Priority priorty)
This sends an exception's stack trace to the specified logger. |
static void |
logStackTrace(java.lang.Exception exception,
org.apache.log4j.Logger logger)
This sends an exception's stack trace to the specified logger. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int DEFAULT_MAX_NUMBER_ENTRIES
| Method Detail |
public static void logStackTrace(java.lang.Exception exception,
org.apache.log4j.Logger logger)
exception - exception to loglogger - logger to send entries
public static void logStackTrace(java.lang.Exception exception,
int max,
org.apache.log4j.Logger logger,
org.apache.log4j.Priority priorty)
exception - exception to logmax - maximun number of entries to loglogger - logger to send entriespriorty - priorty of log message
public static java.lang.String getStackTrace(java.lang.Exception exception,
int max)
exception - exception to logmax - maximun number of entries to log
public static void logExceptionCauses(java.lang.Throwable exception,
org.apache.log4j.Logger logger,
org.apache.log4j.Priority priorty)
exception - exception to loglogger - logger to send entriespriorty - priorty of log messagepublic static java.lang.String getExceptionCauses(java.lang.Throwable exception)
exception - exception to log
public static java.lang.String getExceptionCausesWithClassNames(java.lang.Throwable exception)
exception - exception to log
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||