com.ibm.commerce.exception
Class ECSystemException

com.ibm.commerce.exception.ECException
  |
  +--com.ibm.commerce.exception.ECSystemException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PersonalizationRuleServerException

public class ECSystemException
extends ECException

ECSystemException is the class of exceptions thrown by the WebSphere Commerce Application Server when system errors occur during processing.

See Also:
Serialized Form

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 an 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)
          Constructs an ECSystemException with an ECMessage object.
ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, boolean logMsg)
          Constructs an ECSystemException with an ECMessage object.
ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.String errorTaskName)
          Constructs an 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)
          Constructs an 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)
          Constructs an 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)
          Constructs an ECSystemException with an ECMessage object.
ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.Throwable exc)
          Constructs an 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)
          Constructs an 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)
          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)
          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)
          Constructs an 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
 

Constructor Detail

ECSystemException

public ECSystemException(ECMessage msg,
                         java.lang.String className,
                         java.lang.String methodName)
Constructs an ECSystemException with an ECMessage object.
Parameters:
msg - ECMessage - The ECMessage object used for describing the exception.
className - String - The name of the class that threw this ECSystemException.
methodName - String - The name of the method that threw this ECSystemException.

ECSystemException

public ECSystemException(ECMessage msg,
                         java.lang.String className,
                         java.lang.String methodName,
                         boolean logMsg)
Constructs an ECSystemException with an ECMessage object.
Parameters:
msg - ECMessage - The ECMessage object used for describing the exception.
className - String - The name of the class that threw this ECSystemException.
methodName - String - The name of the method that threw this ECSystemException.
logMsg - boolean - indicate that an error message is logged immediately

ECSystemException

public ECSystemException(ECMessage msg,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.Object[] msgParam)
Constructs an ECSystemException with an ECMessage object.
Parameters:
msg - ECMessage - The ECMessage object used for describing the exception.
className - String - The name of the class that threw this ECSystemException.
methodName - String - The name of the method that threw this ECSystemException.
msgParam - Object[] - An array of parameter values to be passed to the message.

ECSystemException

public ECSystemException(ECMessage msg,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.Object[] msgParam,
                         boolean logMsg)
Constructs an ECSystemException with an ECMessage object.
Parameters:
msg - ECMessage - The ECMessage object used for describing the exception.
className - String - The name of the class that threw this ECSystemException.
methodName - String - The name of the method that threw this ECSystemException.
msgParam - Object[] - An array of parameter values to be passed to the message.
logMsg - boolean - indicate that an error message is logged immediately

ECSystemException

public ECSystemException(ECMessage msg,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.Object[] msgParam,
                         java.lang.String errorTaskName)
Constructs an ECSystemException with an ECMessage object.
Parameters:
msg - ECMessage - The ECMessage object used for describing the exception.
className - String - The name of the class that threw this ECSystemException.
methodName - String - The name of the method that threw this ECSystemException.
msgParam - Object[] - An array of parameter values to be passed to the message.
errorTaskName - String - The name of error task to handle this error

ECSystemException

public ECSystemException(ECMessage msg,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.Object[] msgParam,
                         java.lang.String errorTaskName,
                         boolean logMsg)
Constructs an ECSystemException with an ECMessage object.
Parameters:
msg - ECMessage - The ECMessage object used for describing the exception.
className - String - The name of the class that threw this ECSystemException.
methodName - String - The name of the method that threw this ECSystemException.
msgParam - Object[] - An array of parameter values to be passed to the message.
errorTaskName - String - The name of error task to handle this error
logMsg - boolean - indicate that an error message is logged immediately

ECSystemException

public ECSystemException(ECMessage msg,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.Object[] msgParam,
                         java.lang.String errorTaskName,
                         java.lang.Throwable exc)
Constructs an ECSystemException with an ECMessage object.
Parameters:
msg - ECMessage - The ECMessage object used for describing the exception.
className - String - The name of the class that threw this ECSystemException.
methodName - String - The name of the method that threw this ECSystemException.
msgParam - Object[] - An array of parameter values to be passed to the message.
errorTaskName - String - The name of the exception handler to handle this message.
exc - Throwable - The exception captured at the original point of failure.

ECSystemException

public 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)
Constructs an ECSystemException with an ECMessage object.
Parameters:
msg - ECMessage - The ECMessage object used for describing the exception.
className - String - The name of the class that threw this ECSystemException.
methodName - String - The name of the method that threw this ECSystemException.
msgParam - Object[] - An array of parameter values to be passed to the message.
errorTaskName - String - The name of the exception handler to handle this message.
exc - Throwable - The exception captured at the original point of failure.
logMsg - boolean - indicate that an error message is logged immediately

ECSystemException

public ECSystemException(ECMessage msg,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.Object[] msgParam,
                         java.lang.Throwable exc)
Constructs an ECSystemException with an ECMessage object.
Parameters:
msg - ECMessage - The ECMessage object used for describing the exception.
className - The name of the class that threw this ECSystemException.
methodName - The name of the method that threw this ECSystemException.
msgParam - Object[] - an array of parameters for the message
exc - Throwable - The exception captured at the original point of failure.

ECSystemException

public ECSystemException(ECMessage msg,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.Object[] msgParam,
                         java.lang.Throwable exc,
                         boolean logMsg)
Constructs an ECSystemException with an ECMessage object.
Parameters:
msg - ECMessage - The ECMessage object used for describing the exception.
className - The name of the class that threw this ECSystemException.
methodName - The name of the method that threw this ECSystemException.
msgParam - Object[] - an array of parameters for the message
exc - Throwable - The exception captured at the original point of failure.
logMsg - boolean - indicate that an error message is logged immediately

ECSystemException

public ECSystemException(ECMessage msg,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.String errorTaskName)
Constructs an ECSystemException with an ECMessage object.
Parameters:
msg - ECMessage - The ECMessage object used for describing the exception.
className - String - The name of the class that threw this ECSystemException.
methodName - String - The name of the method that threw this ECSystemException.
errorTaskName - String - The name of error task to handle this error

ECSystemException

public ECSystemException(ECMessage msg,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.String errorTaskName,
                         boolean logMsg)
Constructs an ECSystemException with an ECMessage object.
Parameters:
msg - ECMessage - The ECMessage object used for describing the exception.
className - String - The name of the class that threw this ECSystemException.
methodName - String - The name of the method that threw this ECSystemException.
errorTaskName - String - The name of error task to handle this error
logMsg - boolean - indicate that an error message is logged immediately

ECSystemException

public 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.
Parameters:
msg - ECMessage - The ECMessage object used for describing the exception.
className - String - The name of the class that threw this ECSystemException.
methodName - String - The name of the method that threw this ECSystemException.
errorTaskName - String - The name of error task to handle this error
exc - Throwable - The exception captured at the original point of failure.

ECSystemException

public ECSystemException(ECMessage msg,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.String errorTaskName,
                         java.lang.Throwable exc,
                         boolean logMsg)
Constructs an ECSystemException with an ECMessage object.
Parameters:
msg - ECMessage - The ECMessage object used for describing the exception.
className - String - The name of the class that threw this ECSystemException.
methodName - String - The name of the method that threw this ECSystemException.
errorTaskName - String - The name of error task to handle this error
exc - Throwable - The exception captured at the original point of failure.
logMsg - boolean - indicate that an error message is logged immediately

ECSystemException

public ECSystemException(ECMessage msg,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.Throwable exc)
Constructs an ECSystemException with an ECMessage object.
Parameters:
msg - ECMessage - The ECMessage object used for describing the exception.
className - String - The name of the class that threw this ECSystemException.
methodName - String - The name of the method that threw this ECSystemException.
exc - Throwable - The exception captured at the original point of failure.

ECSystemException

public ECSystemException(ECMessage msg,
                         java.lang.String className,
                         java.lang.String methodName,
                         java.lang.Throwable exc,
                         boolean logMsg)
Constructs an ECSystemException with an ECMessage object.
Parameters:
msg - ECMessage - The ECMessage object used for describing the exception.
className - String - The name of the class that threw this ECSystemException.
methodName - String - The name of the method that threw this ECSystemException.
exc - Throwable - The exception captured at the original point of failure.
logMsg - boolean - indicate that an error message is logged immediately
Method Detail

getErrorType

public java.lang.String getErrorType()
Gets the type of error.
Overrides:
getErrorType in class ECException
Returns:
(java.lang.String) The error type.

getGenericErrorTask

public java.lang.String getGenericErrorTask()
Gets the generic error task
Overrides:
getGenericErrorTask in class ECException
Returns:
(java.lang.String) The generic error task.

setExceptionValues

public void setExceptionValues(ECMessage msg,
                               java.lang.Object[] msgParam,
                               java.lang.String errorTaskName,
                               java.lang.Throwable exc)
Sets an ECSystemException with an ECMessage object.
Parameters:
msg - The ECMessage object used for describing the exception.
className - The name of the class that threw this ECSystemException.
methodName - The name of the method that threw this ECSystemException.
exc - The exception captured at the original point of failure.