|
SOAj Core v. 1.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.soaj.core.util.internal.SjUtilThrowable
public class SjUtilThrowable
This utility class contains static methods for handling throwables.
Copyright (c) 2006 - 2009 by Global Technology Consulting Group, Inc. at gtcGroup.com .
| Field Summary | |
|---|---|
private static java.lang.String |
CLASS_NAME
Class name. |
| Constructor Summary | |
|---|---|
private |
SjUtilThrowable()
Constructor - Private |
| Method Summary | |
|---|---|
private static void |
emailException(SjBaseCoreRuntimeException baseRuntimeException,
SjAbstractPluginEmail emailPlugin)
|
private static void |
formulateStackTrace(SjBaseCoreRuntimeException baseRuntimeException)
This method formulates a stack trace if necessary and sets it in the exception. |
private static void |
logException(SjBaseCoreRuntimeException baseRuntimeException,
SjAbstractPluginLogging loggingPlugin)
|
static void |
logExceptionOccuredWhileThrowingException(java.lang.String ClassName,
java.lang.String MethodName,
java.lang.RuntimeException e)
Logging statement providing context for the reader of the log. |
private static void |
logOut(SjBaseCoreRuntimeException baseRuntimeException,
SjAbstractPluginLogging logThrowablePlugin,
SjAbstractPluginEmail emailPlugin)
This method unwraps the throwable to determine what should be logged and/or emailed. |
static void |
logThrowable(SjBaseCoreRuntimeException baseRuntimeException)
This method processes both self-logging and self-emailing without requiring either plugin as an argument. |
static void |
logThrowable(SjBaseCoreRuntimeException baseRuntimeException,
SjAbstractPluginLogging logThrowablePlugin)
This overloaded method processes both self-logging and self-emailing while requiring the logging plugin as an argument, or null. |
static void |
logThrowable(SjBaseCoreRuntimeException baseRuntimeException,
SjAbstractPluginLogging logThrowablePlugin,
SjAbstractPluginEmail emailPlugin)
This overloaded method processes both self-logging and self-emailing while requiring the logging and email plugins as an argument, or null. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String CLASS_NAME
| Constructor Detail |
|---|
private SjUtilThrowable()
| Method Detail |
|---|
public static void logThrowable(SjBaseCoreRuntimeException baseRuntimeException)
baseRuntimeException -
public static void logThrowable(SjBaseCoreRuntimeException baseRuntimeException,
SjAbstractPluginLogging logThrowablePlugin)
null.
baseRuntimeException - logThrowablePlugin - Or null.
public static void logThrowable(SjBaseCoreRuntimeException baseRuntimeException,
SjAbstractPluginLogging logThrowablePlugin,
SjAbstractPluginEmail emailPlugin)
null. It may be entered recursively (typically for
processing nested exceptions).
baseRuntimeException - logThrowablePlugin - Or null.emailPlugin - Or null.
public static void logExceptionOccuredWhileThrowingException(java.lang.String ClassName,
java.lang.String MethodName,
java.lang.RuntimeException e)
ClassName - MethodName - e -
private static void logOut(SjBaseCoreRuntimeException baseRuntimeException,
SjAbstractPluginLogging logThrowablePlugin,
SjAbstractPluginEmail emailPlugin)
baseRuntimeException - logThrowablePlugin - Or null.emailPlugin - Or null.
private static void logException(SjBaseCoreRuntimeException baseRuntimeException,
SjAbstractPluginLogging loggingPlugin)
baseRuntimeException - loggingPlugin -
private static void emailException(SjBaseCoreRuntimeException baseRuntimeException,
SjAbstractPluginEmail emailPlugin)
baseRuntimeException - emailPlugin - private static void formulateStackTrace(SjBaseCoreRuntimeException baseRuntimeException)
baseRuntimeException -
|
SOAj Core v. 1.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2006 - 2009 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.