com.ibm.websphere.brb
Class NoRulesFoundException

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.UnexpectedRulesFoundException
                      extended bycom.ibm.websphere.brb.NoRulesFoundException
All Implemented Interfaces:
com.ibm.websphere.exception.DistributedExceptionEnabled, java.io.Serializable

public class NoRulesFoundException
extends UnexpectedRulesFoundException

Thrown when a finding strategy does not find any rules and at least 1 rule was expected.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.websphere.brb.BusinessRuleBeansException
DEFAULT_BRB_RESOURCE_BUNDLE
 
Constructor Summary
NoRulesFoundException()
          Default constructor.
NoRulesFoundException(java.lang.String message)
          Constructor with a message.
NoRulesFoundException(java.lang.String resourceBundleName, java.lang.String resourceKey, java.lang.Object[] formatArguments, java.lang.String defaultText)
          Constructor with localization message information.
NoRulesFoundException(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.
NoRulesFoundException(java.lang.String message, java.lang.Throwable exception)
          Constructor with a message and an exception to be chained.
NoRulesFoundException(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, 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

NoRulesFoundException

public NoRulesFoundException()
Default constructor.


NoRulesFoundException

public NoRulesFoundException(java.lang.String message)
Constructor with a message.

Parameters:
message - Message text

NoRulesFoundException

public NoRulesFoundException(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

NoRulesFoundException

public NoRulesFoundException(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

NoRulesFoundException

public NoRulesFoundException(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

NoRulesFoundException

public NoRulesFoundException(java.lang.Throwable exception)
Constructor with an exception to be chained.

Parameters:
exception - The exception to be chained