com.ibm.commerce.exception

Class ECSystemException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
  • All Implemented Interfaces:
    com.ibm.commerce.exception.ECCorrelatedIdentity, com.ibm.websphere.exception.DistributedExceptionEnabled, java.io.Serializable
    Direct Known Subclasses:
    ResourceNotFoundException


    public class ECSystemException
    extends ECException
    implements java.io.Serializable
    This class defines the exceptions thrown by the WebSphere Commerce Application Server when system errors occur during processing.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName)
      This is a constructor for this class with three parameters.
      ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, boolean logMsg)
      This is a constructor for this class with four parameters.
      ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam)
      This is a constructor for this class with four parameters.
      ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, boolean logMsg)
      This is a constructor for this class with five parameters.
      ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.String errorTaskName)
      This is a constructor for this class with five parameters.
      ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.String errorTaskName, boolean logMsg)
      This is a constructor for this class with six parameters.
      ECSystemException(ECMessage ecMessage, java.lang.String className, java.lang.String methodName, java.lang.Object[] messageParameters, java.lang.String errorTaskName, java.lang.String[] symptomData)
      This is a constructor for this class with four parameters.
      ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.String errorTaskName, java.lang.Throwable exc)
      This is a constructor for this class with six parameters.
      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)
      This is a constructor for this class with seven parameters.
      ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.Throwable exc)
      This is a constructor for this class with five parameters.
      ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] msgParam, java.lang.Throwable exc, boolean logMsg)
      This is a constructor for this class with six parameters.
      ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.String errorTaskName)
      This is a constructor for this class with four parameters.
      ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.String errorTaskName, boolean logMsg)
      This is a constructor for this class with five parameters.
      ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.String errorTaskName, java.lang.Throwable exc)
      This is a constructor for this class with five parameters.
      ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.String errorTaskName, java.lang.Throwable exc, boolean logMsg)
      This is a constructor for this class with six parameters.
      ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Throwable exc)
      This is a constructor for this class with four parameters.
      ECSystemException(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Throwable exc, boolean logMsg)
      This is a constructor for this class with five parameters.
    • Constructor Detail

      • ECSystemException

        public ECSystemException(ECMessage msg,
                                 java.lang.String className,
                                 java.lang.String methodName)
        This is a constructor for this class with three parameters.
        Parameters:
        msg - An 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)
        This is a constructor for this class with four parameters.
        Parameters:
        msg - An 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 Object 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)
        This is a constructor for this class with five parameters.
        Parameters:
        msg - An 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 Object array of parameter values to be passed to the message.
        errorTaskName - The name of the exception handler 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)
        This is a constructor for this class with six parameters.
        Parameters:
        msg - An 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 Object array of parameter values to be passed to the message.
        errorTaskName - The name of the exception handler 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.Object[] msgParam,
                                 java.lang.String errorTaskName,
                                 java.lang.Throwable exc,
                                 boolean logMsg)
        This is a constructor for this class with seven parameters.
        Parameters:
        msg - An 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 Object array of parameter values to be passed to the message.
        errorTaskName - The name of the exception handler to handle this error.
        exc - The exception captured at the original point of failure.
        logMsg - A boolean value indicating whether the message is logged immediately (true if it is, false otherwise).
      • ECSystemException

        public ECSystemException(ECMessage msg,
                                 java.lang.String className,
                                 java.lang.String methodName,
                                 java.lang.Object[] msgParam,
                                 java.lang.String errorTaskName,
                                 boolean logMsg)
        This is a constructor for this class with six parameters.
        Parameters:
        msg - An 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 Object array of parameter values to be passed to the message.
        errorTaskName - The name of the exception handler to handle this error.
        logMsg - A boolean value indicating whether the message is logged immediately (true if it is, false otherwise).
      • ECSystemException

        public ECSystemException(ECMessage msg,
                                 java.lang.String className,
                                 java.lang.String methodName,
                                 java.lang.Object[] msgParam,
                                 java.lang.Throwable exc)
        This is a constructor for this class with five parameters.
        Parameters:
        msg - An 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 Object array of parameter values to be passed to 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)
        This is a constructor for this class with six parameters.
        Parameters:
        msg - An 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 Object array of parameter values to be passed to the message.
        exc - The exception captured at the original point of failure.
        logMsg - A boolean value indicating whether the message is logged immediately (true if it is, false otherwise).
      • ECSystemException

        public ECSystemException(ECMessage msg,
                                 java.lang.String className,
                                 java.lang.String methodName,
                                 java.lang.Object[] msgParam,
                                 boolean logMsg)
        This is a constructor for this class with five parameters.
        Parameters:
        msg - An 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 Object array of parameter values to be passed to the message.
        logMsg - A boolean value indicating whether the message is logged immediately (true if it is, false otherwise).
      • ECSystemException

        public ECSystemException(ECMessage msg,
                                 java.lang.String className,
                                 java.lang.String methodName,
                                 java.lang.String errorTaskName)
        This is a constructor for this class with four parameters.
        Parameters:
        msg - An 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 the exception handler 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)
        This is a constructor for this class with five parameters.
        Parameters:
        msg - An 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 the exception handler 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)
        This is a constructor for this class with six parameters.
        Parameters:
        msg - An 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 the exception handler to handle this error.
        exc - The exception captured at the original point of failure.
        logMsg - A boolean value indicating whether the message is logged immediately (true if it is, false otherwise).
      • ECSystemException

        public ECSystemException(ECMessage msg,
                                 java.lang.String className,
                                 java.lang.String methodName,
                                 java.lang.String errorTaskName,
                                 boolean logMsg)
        This is a constructor for this class with five parameters.
        Parameters:
        msg - An 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 the exception handler to handle this error.
        logMsg - A boolean value indicating whether the message is logged immediately (true if it is, false otherwise).
      • ECSystemException

        public ECSystemException(ECMessage msg,
                                 java.lang.String className,
                                 java.lang.String methodName,
                                 java.lang.Throwable exc)
        This is a constructor for this class with four parameters.
        Parameters:
        msg - An 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)
        This is a constructor for this class with five parameters.
        Parameters:
        msg - An 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.
        logMsg - A boolean value indicating whether the message is logged immediately (true if it is, false otherwise).
      • ECSystemException

        public ECSystemException(ECMessage msg,
                                 java.lang.String className,
                                 java.lang.String methodName,
                                 boolean logMsg)
        This is a constructor for this class with four parameters.
        Parameters:
        msg - An 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 - A boolean value indicating whether the message is logged immediately (true if it is, false otherwise).
      • ECSystemException

        public ECSystemException(ECMessage ecMessage,
                                 java.lang.String className,
                                 java.lang.String methodName,
                                 java.lang.Object[] messageParameters,
                                 java.lang.String errorTaskName,
                                 java.lang.String[] symptomData)
        This is a constructor for this class with four parameters.
        Parameters:
        activityToken - The activity token.
        ecMessage - An 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.
        messageParameters - An Object array of parameter values to be passed to the message.
        errorTaskName - The name of the exception handler to handle this error.
        symptomData - The symptom data associated with the exception.
        ecParameterErrors - Any additional errors associated with the exception.
    • Method Detail

      • getErrorType

        public java.lang.String getErrorType()
        This method gets the type of error.
        Specified by:
        getErrorType in class ECException
        Returns:
        The error type, which is always a system error.
      • getGenericErrorTask

        public java.lang.String getGenericErrorTask()
        This method 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)
        This method sets the exception values of an ECSystemException.
        Parameters:
        msg - An ECMessage object used for describing the exception.
        msgParam - An Object array of parameter values to be passed to the message.
        errorTaskName - The name of the exception handler to handle this error.
        exc - The exception captured at the original point of failure.
      • getCause

        public java.lang.Throwable getCause()
        This method returns the root cause of the exception.
        Overrides:
        getCause in class java.lang.Throwable
        Returns:
        The root cause of the exception.