com.ibm.commerce.edp.api

Class InternalException

  • All Implemented Interfaces:
    java.io.Serializable


    public class InternalException
    extends EDPException
    This class represents the exception thrown when internal operation failed. It is used in somewhere you don't think all other exception is suitable. And InternalException should be treated as there is some internal exception inside the Payment Rules and the reason is unknown.
    See Also:
    Serialized Form
    • Constructor Detail

      • InternalException

        public InternalException()

        The default constructor.

      • InternalException

        public InternalException(java.lang.String resourceBundleName,
                                 java.lang.String messageKey,
                                 java.lang.Object[] formatArguments,
                                 java.lang.String defaultText)

        The constructor with a localized message.

        Parameters:
        resourceBundleName - The name of the resource bundle to be used to generate a localized exception message
        messageKey - The key to identify the resource to generate a localized exception
        formatArguments - An array of arguments to build the localized message
        defaultText - The message that is shown if the localized message cannot be generated
      • InternalException

        public InternalException(java.lang.String resourceBundleName,
                                 java.lang.String messageKey,
                                 java.lang.Object[] formatArguments,
                                 java.lang.String defaultText,
                                 java.lang.Throwable exception)

        The constructor with a localized message and a chained exception.

        Parameters:
        resourceBundleName - The name of the resource bundle to be used to generate a localized exception message
        messageKey - The key to identify the resource to generate a localized exception
        formatArguments - An array of arguments to build the localized message
        defaultText - The message that is shown if the localized message cannot be generated
        exception - The exception to be chained
      • InternalException

        public InternalException(java.lang.Throwable exception)

        The constructor with a chained exception.

        Parameters:
        exception - The exception to be chained