org.drools.semantics.java
Class MissingDeclarationException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.drools.DroolsException
|
+--org.drools.semantics.java.MissingDeclarationException
- All Implemented Interfaces:
- java.io.Serializable
- public class MissingDeclarationException
- extends DroolsException
Indicates an attempt to use an expression which references
non-existant Declaration
s.
- Version:
- $Id: MissingDeclarationException.java,v 1.2 2002/08/19 00:31:42 bob Exp $
- Author:
- bob mcwhirter
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getExpression()
Retrieve the expression. |
java.lang.String |
getIdentifier()
Retrieve the identifier. |
java.lang.String |
getMessage()
Retrieve the erorr message. |
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 |
MissingDeclarationException
public MissingDeclarationException(java.lang.String expr,
java.lang.String id)
- Construct.
- Parameters:
expr
- The expression.id
- The missing declaration.
getExpression
public java.lang.String getExpression()
- Retrieve the expression.
- Returns:
- The expression.
getIdentifier
public java.lang.String getIdentifier()
- Retrieve the identifier.
- Returns:
- The identifier.
getMessage
public java.lang.String getMessage()
- Retrieve the erorr message.
- Overrides:
getMessage
in class DroolsException
- Returns:
- The error message.
Copyright © 2001-2003 The Werken Company. All Rights Reserved.