java.lang.Object | +--CommandException | +--com.ibm.commerce.exception.ECException | +--com.ibm.commerce.exception.ECSystemException
ECSystemException is the class of exceptions thrown by the WebSphere Commerce Application Server when system errors occur during processing.
Field Summary |
---|
Fields inherited from class com.ibm.commerce.exception. ECException |
APPLICATION_ERROR,
ECMESSAGE,
ECMESSAGEKEY,
errorProperties,
EXCEP_DATA,
EXCEP_TYPE,
EXCEPTION,
GENERIC_APPLICATION_ERROR_TASK,
GENERIC_SYSTEM_ERROR_TASK,
MSG_PARAM,
SYSTEM_ERROR |
Constructor Summary | |
---|---|
ECSystemException(
ECMessage msg, java.lang.String className,
java.lang.String methodName) Constructs for ECSystemException with an ECMessage object. | |
ECSystemException(
ECMessage msg, java.lang.String className, java.lang.String methodName,
boolean logMsg) Constructs an ECSystemException with an ECMessage object. | |
ECSystemException(
ECMessage msg, java.lang.String className, java.lang.String methodName,
java.lang.Object[] msgParam) Constructor for ECSystemException with an ECMessage object. | |
ECSystemException(
ECMessage msg, java.lang.String className, java.lang.String methodName,
java.lang.Object[] msgParam, boolean logMsg) Constructor for ECSystemException with an ECMessage object. | |
ECSystemException(
ECMessage msg, java.lang.String className, java.lang.String methodName,
java.lang.Object[] msgParam, java.lang.String errorTaskName) Constructor for ECSystemException with an ECMessage object. | |
ECSystemException(
ECMessage msg, java.lang.String className, java.lang.String methodName,
java.lang.Object[] msgParam, java.lang.String errorTaskName,
boolean logMsg) Constructor for ECSystemException with an ECMessage object. | |
ECSystemException(
ECMessage msg, java.lang.String className, java.lang.String methodName,
java.lang.Object[] msgParam, java.lang.String errorTaskName,
java.lang.Throwable exc) Constructor for ECSystemException with an ECMessage object. | |
ECSystemException(
ECMessage msg, java.lang.String className, java.lang.String methodName,
java.lang.Object[] msgParam, java.lang.String errorTaskName,
java.lang.Throwable exc, boolean logMsg) Constructor for ECSystemException with an ECMessage object. | |
ECSystemException(
ECMessage msg, java.lang.String className, java.lang.String methodName,
java.lang.Object[] msgParam, java.lang.Throwable exc) Constructor for ECSystemException with an ECMessage object. | |
ECSystemException(
ECMessage msg, java.lang.String className, java.lang.String methodName,
java.lang.Object[] msgParam, java.lang.Throwable exc,
boolean logMsg) Constructor for ECSystemException with an ECMessage object. | |
ECSystemException(
ECMessage msg, java.lang.String className, java.lang.String methodName,
java.lang.String errorTaskName) Constructs an ECSystemException with an ECMessage object. | |
ECSystemException(
ECMessage msg, java.lang.String className, java.lang.String methodName,
java.lang.String errorTaskName, boolean logMsg) Constructor for ECSystemException with an ECMessage object. | |
ECSystemException(
ECMessage msg, java.lang.String className, java.lang.String methodName,
java.lang.String errorTaskName, java.lang.Throwable exc) Constructs an ECSystemException with an ECMessage object. | |
ECSystemException(
ECMessage msg, java.lang.String className, java.lang.String methodName,
java.lang.String errorTaskName, java.lang.Throwable exc,
boolean logMsg) Constructor for ECSystemException with an ECMessage object. | |
ECSystemException(
ECMessage msg, java.lang.String className, java.lang.String methodName,
java.lang.Throwable exc) Constructs an ECSystemException with an ECMessage object. | |
ECSystemException(
ECMessage msg, java.lang.String className, java.lang.String methodName,
java.lang.Throwable exc, boolean logMsg) Constructs an ECSystemException with an ECMessage object. |
Method Summary | |
---|---|
java.lang.String |
getErrorType() Gets the type of error. |
java.lang.String |
getGenericErrorTask() Gets the generic error task. |
void |
setExceptionValues(
ECMessage msg, java.lang.Object[] msgParam, java.lang.String errorTaskName,
java.lang.Throwable exc) Sets an ECSystemException with an ECMessage object. |
Methods inherited from class com.ibm.commerce.exception. ECException |
getErrorMessageKey,
getErrorProperties,
getErrorTaskName,
getMessageKey,
getStackTrace,
getThrowable,
getUserMessage,
logMessage,
logMessage,
logMessage,
setErrorTaskName,
setException,
setOrginatingCommand,
setThrowable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName)
msg
- the ECMessage object used for describing the
exceptionclassName
- the name of the class that threw this
ECSystemExceptionmethodName
- the name of the method that threw this
ECSystemExceptionpublic ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam)
msg
- the ECMessage object used for describing the
exceptionclassName
- the name of the class that threw this
ECSystemExceptionmethodName
- the name of the method that threw this
ECSystemExceptionmsgParam
- an array of parameter values to be passed to the
messagepublic ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.String errorTaskName)
msg
- the ECMessage object used for describing the
exceptionclassName
- the name of the class that threw this
ECSystemExceptionmethodName
- the name of the method that threw this
ECSystemExceptionmsgParam
- an array of parameter values to be passed to the
messageerrorTaskName
- the name of error task to handle this
errorpublic ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.String errorTaskName, java.lang.Throwable exc)
msg
- the ECMessage object used for describing the
exceptionclassName
- the name of the class that threw this
ECSystemExceptionmethodName
- the name of the method that threw this
ECSystemExceptionmsgParam
- an array of parameter values to be passed to the
messageerrorTaskName
- the name of the exception handler to handle
this messageexc
- the exception captured at the original point of
failurepublic ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.String errorTaskName, java.lang.Throwable exc, boolean logMsg)
msg
- the ECMessage object used for describing the
exceptionclassName
- the name of the class that threw this
ECSystemExceptionmethodName
- the name of the method that threw this
ECSystemExceptionmsgParam
- an array of parameter values to be passed to the
messageerrorTaskName
- the name of the exception handler to handle
this messageexc
- the exception captured at the original point of
failurelogMsg
- true if an error message is logged
immediatelypublic ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.String errorTaskName, boolean logMsg)
msg
- the ECMessage object used for describing the
exceptionclassName
- the name of the class that threw this
ECSystemExceptionmethodName
- the name of the method that threw this
ECSystemExceptionmsgParam
- an array of parameter values to be passed to the
messageerrorTaskName
- the name of error task to handle this
errorlogMsg
- true if an error message is logged
immediatelypublic ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.Throwable exc)
msg
- the ECMessage object used for describing the
exceptionclassName
- the name of the class that threw this
ECSystemExceptionmethodName
- the name of the method that threw this
ECSystemExceptionmsgParam
- an array of parameters for the messageexc
- the exception captured at the original point of
failurepublic ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.Throwable exc, boolean logMsg)
msg
- the ECMessage object used for describing the
exceptionclassName
- the name of the class that threw this
ECSystemExceptionmethodName
- the name of the method that threw this
ECSystemExceptionmsgParam
- an array of parameters for the messageexc
- the exception captured at the original point of
failurelogMsg
- true if an error message is logged
immediatelypublic ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, boolean logMsg)
msg
- the ECMessage object used for describing the
exceptionclassName
- the name of the class that threw this
ECSystemExceptionmethodName
- the name of the method that threw this
ECSystemExceptionmsgParam
- an array of parameter values to be passed to the
messagelogMsg
- true if an error message is logged
immediatelypublic ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.String errorTaskName)
msg
- the ECMessage object used for describing the
exceptionclassName
- the name of the class that threw this
ECSystemExceptionmethodName
- the name of the method that threw this
ECSystemExceptionerrorTaskName
- the name of error task to handle this
errorpublic ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.String errorTaskName, java.lang.Throwable exc)
msg
- the ECMessage object used for describing the
exceptionclassName
- the name of the class that threw this
ECSystemExceptionmethodName
- the name of the method that threw this
ECSystemExceptionerrorTaskName
- the name of error task to handle this
errorexc
- the exception captured at the original point of
failurepublic ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.String errorTaskName, java.lang.Throwable exc, boolean logMsg)
msg
- the ECMessage object used for describing the
exceptionclassName
- the name of the class that threw this
ECSystemExceptionmethodName
- the name of the method that threw this
ECSystemExceptionerrorTaskName
- the name of error task to handle this
errorexc
- the exception captured at the original point of
failurelogMsg
- true if an error message is logged
immediatelypublic ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.String errorTaskName, boolean logMsg)
msg
- the ECMessage object used for describing the
exceptionclassName
- the name of the class that threw this
ECSystemExceptionmethodName
- the name of the method that threw this
ECSystemExceptionerrorTaskName
- the name of error task to handle this
errorlogMsg
- true if an error message is logged
immediatelypublic ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Throwable exc)
msg
- the ECMessage object used for describing the
exceptionclassName
- the name of the class that threw this
ECSystemExceptionmethodName
- the name of the method that threw this
ECSystemExceptionexc
- the exception captured at the original point of
failurepublic ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Throwable exc, boolean logMsg)
msg
- the ECMessage object used for describing the
exceptionclassName
- the name of the class that threw this
ECSystemExceptionmethodName
- the name of the method that threw this
ECSystemExceptionexc
- tThe exception captured at the original point of
failurelogMsg
- true if an error message is logged
immediatelypublic ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, boolean logMsg)
msg
- the ECMessage object used for describing the
exceptionclassName
- the name of the class that threw this
ECSystemExceptionmethodName
- the name of the method that threw this
ECSystemExceptionlogMsg
- true if an error message is logged
immediatelyMethod Detail |
---|
public java.lang.String getErrorType()
getErrorType
in class
ECException
public java.lang.String getGenericErrorTask()
getGenericErrorTask
in class
ECException
public void setExceptionValues(ECMessage msg, java.lang.Object[] msgParam, java.lang.String errorTaskName, java.lang.Throwable exc)
msg
- the ECMessage object used for describing the
exceptionmsgParam
- an array of parameter values to be passed to the
messageerrorTaskName
- the name of error task to handle this
errorexc
- the exception captured at the original point of
failure