org.drools
Class NoSuchRuleBaseException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.drools.DroolsException
                    |
                    +--org.drools.NoSuchRuleBaseException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchRuleBaseException
extends DroolsException

Indicates an attempt to retrieve an unknowwn rule base.

Author:
bob mcwhirter
See Also:
RuleBaseRepository.lookupRuleBase(java.lang.String), Serialized Form

Constructor Summary
NoSuchRuleBaseException(java.lang.String uri)
          Construct.
 
Method Summary
 java.lang.String getMessage()
          Retrieve the error message.
 java.lang.String getUri()
          Retrieve the unknown rule-base URI.
 
Methods inherited from class org.drools.DroolsException
getLocalizedMessage, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuchRuleBaseException

public NoSuchRuleBaseException(java.lang.String uri)
Construct.
Parameters:
uri - The attempted rulebase URI.
Method Detail

getUri

public java.lang.String getUri()
Retrieve the unknown rule-base URI.
Returns:
The uri.

getMessage

public java.lang.String getMessage()
Retrieve the error message.
Overrides:
getMessage in class DroolsException
Returns:
The error message.


Copyright © 2001-2003 The Werken Company. All Rights Reserved.