com.ibm.websphere.brb
Class BusinessRuleBeansException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.websphere.exception.DistributedException
                    |
                    +--com.ibm.websphere.brb.BusinessRuleBeansException
All Implemented Interfaces:
com.ibm.websphere.exception.DistributedExceptionEnabled, java.io.Serializable
Direct Known Subclasses:
BRBeansIllegalArgumentException, ConstraintViolationException, RuleChangedException, UnexpectedRulesFoundException

public class BusinessRuleBeansException
extends com.ibm.websphere.exception.DistributedException

The base exception for all problems encountered by BRBeans.

See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_BRB_RESOURCE_BUNDLE
          Name of the resource bundle used by code shipped with BRBeans.
 
Constructor Summary
BusinessRuleBeansException()
          Default constructor.
BusinessRuleBeansException(java.lang.String message)
          Constructor with a message.
BusinessRuleBeansException(java.lang.String resourceBundleName, java.lang.String resourceKey, java.lang.Object[] formatArguments, java.lang.String defaultText)
          Constructor with localization message information.
BusinessRuleBeansException(java.lang.String resourceBundleName, java.lang.String resourceKey, java.lang.Object[] formatArguments, java.lang.String defaultText, java.lang.Throwable exception)
          Constructor with localization message information and an exception to be chained.
BusinessRuleBeansException(java.lang.String message, java.lang.Throwable exception)
          Constructor with a message and an exception to be chained.
BusinessRuleBeansException(java.lang.Throwable exception)
          Constructor with an exception to be chained.
 
Methods inherited from class com.ibm.websphere.exception.DistributedException
getException, getExceptionInfo, getMessage, getOriginalException, getPreviousException, printStackTrace, printStackTrace, printSuperStackTrace, setDefaultMessage, setLocalizationInfo
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_BRB_RESOURCE_BUNDLE

public static java.lang.String DEFAULT_BRB_RESOURCE_BUNDLE
Name of the resource bundle used by code shipped with BRBeans.
Constructor Detail

BusinessRuleBeansException

public BusinessRuleBeansException()
Default constructor.

BusinessRuleBeansException

public BusinessRuleBeansException(java.lang.String message)
Constructor with a message.
Parameters:
message - Message text

BusinessRuleBeansException

public BusinessRuleBeansException(java.lang.String resourceBundleName,
                                  java.lang.String resourceKey,
                                  java.lang.Object[] formatArguments,
                                  java.lang.String defaultText)
Constructor with localization message information.
Parameters:
resourceBundleName - The name of resource bundle that will be used to retrieve the message for getMessage().
resourceKey - The key in the resource bundle that will be used to select the specific message that is retrieved for getMessage().
formatArguments - The arguments to be passed to the java.text.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 in getMessage() if the resource bundle or the key cannot be found.
See Also:
DistributedException.getMessage(), MessageFormat

BusinessRuleBeansException

public BusinessRuleBeansException(java.lang.String resourceBundleName,
                                  java.lang.String resourceKey,
                                  java.lang.Object[] formatArguments,
                                  java.lang.String defaultText,
                                  java.lang.Throwable exception)
Constructor with localization message information and an exception to be chained.
Parameters:
resourceBundleName - The name of resource bundle that will be used to retrieve the message for getMessage().
resourceKey - The key in the resource bundle that will be used to select the specific message that is retrieved for getMessage().
formatArguments - The arguments to be passed to the java.text.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 in getMessage() if the resource bundle or the key cannot be found.
exception - The exception that is to be chained.
See Also:
DistributedException.getMessage(), MessageFormat

BusinessRuleBeansException

public BusinessRuleBeansException(java.lang.String message,
                                  java.lang.Throwable exception)
Constructor with a message and an exception to be chained.
Parameters:
message - The message for this exception
exception - The exception to be chained

BusinessRuleBeansException

public BusinessRuleBeansException(java.lang.Throwable exception)
Constructor with an exception to be chained.
Parameters:
exception - The exception to be chained