com.ibm.websphere.brb
Class MultipleRulesFoundException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.ibm.websphere.exception.DistributedException
|
+--com.ibm.websphere.brb.BusinessRuleBeansException
|
+--com.ibm.websphere.brb.UnexpectedRulesFoundException
|
+--com.ibm.websphere.brb.MultipleRulesFoundException
- All Implemented Interfaces:
- com.ibm.websphere.exception.DistributedExceptionEnabled, java.io.Serializable
- public class MultipleRulesFoundException
- extends UnexpectedRulesFoundException
Thrown when a finding strategy finds more than one rule and only was expected.
- See Also:
- Serialized Form
Constructor Summary |
MultipleRulesFoundException()
Default constructor. |
MultipleRulesFoundException(java.lang.String message)
Constructor with a message. |
MultipleRulesFoundException(java.lang.String resourceBundleName,
java.lang.String resourceKey,
java.lang.Object[] formatArguments,
java.lang.String defaultText)
Constructor with localization message information. |
MultipleRulesFoundException(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. |
MultipleRulesFoundException(java.lang.String message,
java.lang.Throwable exception)
Constructor with a message and an exception to be chained. |
MultipleRulesFoundException(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 |
MultipleRulesFoundException
public MultipleRulesFoundException()
- Default constructor.
MultipleRulesFoundException
public MultipleRulesFoundException(java.lang.String message)
- Constructor with a message.
- Parameters:
message
- Message text
MultipleRulesFoundException
public MultipleRulesFoundException(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
MultipleRulesFoundException
public MultipleRulesFoundException(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
MultipleRulesFoundException
public MultipleRulesFoundException(java.lang.String message,
java.lang.Throwable exception)
- Constructor with a message and an exception to be chained.
- Parameters:
message
- The message for this exceptionexception
- The exception to be chained
MultipleRulesFoundException
public MultipleRulesFoundException(java.lang.Throwable exception)
- Constructor with an exception to be chained.
- Parameters:
exception
- The exception to be chained