com.ibm.commerce.exception
Class ECSystemException
java.lang.Object
CommandException
com.ibm.commerce.exception.ECException
com.ibm.commerce.exception.ECSystemException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ResourceNotFoundException
- public class ECSystemException
- extends ECException
- implements java.io.Serializable
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 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 |
ECSystemException
public ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName)
- Constructs for 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
ECSystemException
public ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.Object[] msgParam)
- Constructor for 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
- msgParam - 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,
java.lang.String errorTaskName)
- Constructor for 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
- msgParam - an array of parameter values to be passed to the message
- errorTaskName - 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,
java.lang.Throwable exc)
- Constructor for 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
- msgParam - an array of parameter values to be passed to the message
- errorTaskName - the name of the exception handler to handle this message
- exc - 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)
- Constructor for 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
- msgParam - an array of parameter values to be passed to the message
- errorTaskName - the name of the exception handler to handle this message
- exc - the exception captured at the original point of failure
- logMsg - true if 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,
boolean logMsg)
- Constructor for 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
- msgParam - an array of parameter values to be passed to the message
- errorTaskName - the name of error task to handle this error
- logMsg - true if 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)
- Constructor for 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
- msgParam - an array of parameters for the message
- exc - 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)
- Constructor for 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
- msgParam - an array of parameters for the message
- exc - the exception captured at the original point of failure
- logMsg - true if an error message is logged immediately
ECSystemException
public ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.Object[] msgParam,
boolean logMsg)
- Constructor for 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
- msgParam - an array of parameter values to be passed to the message
- logMsg - true if 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 - 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
- errorTaskName - 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,
java.lang.Throwable exc)
- Constructs 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
- errorTaskName - the name of error task to handle this error
- exc - 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)
- Constructor for 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
- errorTaskName - the name of error task to handle this error
- exc - the exception captured at the original point of failure
- logMsg - true if an error message is logged immediately
ECSystemException
public ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.String errorTaskName,
boolean logMsg)
- Constructor for 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
- errorTaskName - the name of error task to handle this error
- logMsg - true if 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 - 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
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 - 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 - tThe exception captured at the original point of failure
- logMsg - true if an error message is logged immediately
ECSystemException
public ECSystemException(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
boolean logMsg)
- Constructs 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
- logMsg - true if an error message is logged immediately
getErrorType
public java.lang.String getErrorType()
- Gets the type of error.
-
- Specified by:
- getErrorType in class ECException
-
- Returns:
- the error type.
getGenericErrorTask
public java.lang.String getGenericErrorTask()
- Gets the generic error task.
-
- Specified by:
- getGenericErrorTask in class ECException
-
- Returns:
- 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
- msgParam - an array of parameter values to be passed to the message
- errorTaskName - the name of error task to handle this error
- exc - the exception captured at the original point of failure
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.