com.ibm.websphere.command

Class UnavailableCompensatingCommandException

  • All Implemented Interfaces:
    DistributedExceptionEnabled, java.io.Serializable


    public class UnavailableCompensatingCommandException
    extends CommandException
    UnavailableCompensableCommandException is thrown by the getCompensatingCommand() method (in the CompensableCommand interface) if it finds no compensating command to return.
    See Also:
    Serialized Form
    • Constructor Detail

      • UnavailableCompensatingCommandException

        public UnavailableCompensatingCommandException()
        Constructor without parameters.
      • UnavailableCompensatingCommandException

        public UnavailableCompensatingCommandException(java.lang.String message)
        Constructor with a message.
        Parameters:
        message - A string describing the exception.
      • UnavailableCompensatingCommandException

        public UnavailableCompensatingCommandException(java.lang.String resourceBundleName,
                                               java.lang.String resourceKey,
                                               java.lang.Object[] formatArguments,
                                               java.lang.String defaultText)
        Constructor with information for localizing messages.
        Parameters:
        resourceBundleName - The name of resource bundle that will be used to retrieve the message for getMessage() method.
        resourceKey - The key in the resource bundle that will be used to select the specific message that is retrieved for the getMessage() method.
        formatArguments - The arguments to be passed to the MessageFormat class to act as replacement variables in the message that is retrieved from the resource bundle. Valid types are those supported by MessageFormat.
        defaultText - The default message that will be used by the getMessage() method if the resource bundle or the key cannot be found.
      • UnavailableCompensatingCommandException

        public UnavailableCompensatingCommandException(java.lang.String resourceBundleName,
                                               java.lang.String resourceKey,
                                               java.lang.Object[] formatArguments,
                                               java.lang.String defaultText,
                                               java.lang.Throwable exception)
        Constructor with information for localizing messages and an exception to chain.
        Parameters:
        resourceBundleName - The name of resource bundle that will be used to retrieve the message for getMessage() method.
        resourceKey - The key in the resource bundle that will be used to select the specific message retrieved for the getMessage() method.
        formatArguments - The arguments to be passed to the MessageFormat class to act as replacement variables in the message that is retrieved from the resource bundle. Valid types are those supported by MessageFormat.
        defaultText - The default message that will be used by the getMessage() method if the resource bundle or the key cannot be found.
        exception - The exception that is to be chained.
IBM WebSphere Application ServerTM
Release 8.5