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