com.ibm.websphere.brb.mgmt
Class RuleChangedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.websphere.exception.DistributedException
              extended bycom.ibm.websphere.brb.BusinessRuleBeansException
                  extended bycom.ibm.websphere.brb.mgmt.RuleChangedException
All Implemented Interfaces:
com.ibm.websphere.exception.DistributedExceptionEnabled, java.io.Serializable

public class RuleChangedException
extends BusinessRuleBeansException

This exception is thrown by IRuleCopy.updatePersistentRule() when the RULE_CHANGED_THROW_EXCEPTION option is specified and the persistent rule has changed since it was originally retrieved.

See Also:
IRuleCopy.updatePersistentRule(IRuleCopy, int), Serialized Form

Field Summary
 
Fields inherited from class com.ibm.websphere.brb.BusinessRuleBeansException
DEFAULT_BRB_RESOURCE_BUNDLE
 
Constructor Summary
RuleChangedException()
          Default RuleChangedException constructor.
RuleChangedException(java.lang.String message)
          RuleChangedException constructor.
RuleChangedException(java.lang.String resourceBundleName, java.lang.String resourceKey, java.lang.Object[] formatArguments, java.lang.String defaultText)
          RuleChangedException constructor.
RuleChangedException(java.lang.String resourceBundleName, java.lang.String resourceKey, java.lang.Object[] formatArguments, java.lang.String defaultText, java.lang.Throwable exception)
          RuleChangedException constructor.
RuleChangedException(java.lang.String message, java.lang.Throwable exception)
          RuleChangedException constructor comment.
RuleChangedException(java.lang.Throwable exception)
          RuleChangedException constructor.
 
Methods inherited from class com.ibm.websphere.exception.DistributedException
getException, getExceptionInfo, getMessage, getOriginalException, getPreviousException, printStackTrace, printStackTrace, printStackTrace, printSuperStackTrace, printSuperStackTrace, setDefaultMessage, setLocalizationInfo
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleChangedException

public RuleChangedException()
Default RuleChangedException constructor. This constructor will set the message to the default message for this exception, which should be correct for most cases. Use one of the other constructors if you need to set a different message for some reason.


RuleChangedException

public RuleChangedException(java.lang.String message)
RuleChangedException constructor.

Parameters:
message - Message for this exception.

RuleChangedException

public RuleChangedException(java.lang.String resourceBundleName,
                            java.lang.String resourceKey,
                            java.lang.Object[] formatArguments,
                            java.lang.String defaultText)
RuleChangedException constructor.

Parameters:
resourceBundleName - Name of the resource bundle containing text for this exception.
resourceKey - Key used to look up the text in the resource bundle.
formatArguments - Replacement arguments used to format the text.
defaultText - Default text to use if there are errors retrieving the text from the resource bundle.

RuleChangedException

public RuleChangedException(java.lang.String resourceBundleName,
                            java.lang.String resourceKey,
                            java.lang.Object[] formatArguments,
                            java.lang.String defaultText,
                            java.lang.Throwable exception)
RuleChangedException constructor.

Parameters:
resourceBundleName - Name of the resource bundle containing text for this exception.
resourceKey - Key used to look up the text in the resource bundle.
formatArguments - Replacement arguments used to format the text.
defaultText - Default text to use if there are errors retrieving the text from the resource bundle.
exception - The exception to be chained.

RuleChangedException

public RuleChangedException(java.lang.String message,
                            java.lang.Throwable exception)
RuleChangedException constructor comment.

Parameters:
message - Message for this exception.
exception - Exception to be chained.

RuleChangedException

public RuleChangedException(java.lang.Throwable exception)
RuleChangedException constructor.

Parameters:
exception - Exception to be chained.