org.drools.semantics.java
Class MissingDeclarationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.drools.DroolsException
              extended by org.drools.semantics.java.MissingDeclarationException
All Implemented Interfaces:
Serializable

public class MissingDeclarationException
extends DroolsException

Indicates an attempt to use an expression which references non-existant Declarations.

Version:
$Id: MissingDeclarationException.java,v 1.2 2002/08/19 00:31:42 bob Exp $
Author:
bob mcwhirter
See Also:
Serialized Form

Constructor Summary
MissingDeclarationException(String expr, String id)
          Construct.
 
Method Summary
 String getExpression()
          Retrieve the expression.
 String getIdentifier()
          Retrieve the identifier.
 String getMessage()
          Retrieve the erorr message.
 
Methods inherited from class org.drools.DroolsException
getLocalizedMessage, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MissingDeclarationException

public MissingDeclarationException(String expr,
                                   String id)
Construct.

Parameters:
expr - The expression.
id - The missing declaration.
Method Detail

getExpression

public String getExpression()
Retrieve the expression.

Returns:
The expression.

getIdentifier

public String getIdentifier()
Retrieve the identifier.

Returns:
The identifier.

getMessage

public String getMessage()
Retrieve the erorr message.

Overrides:
getMessage in class DroolsException
Returns:
The error message.


Copyright © 2001-2005 The Codehaus. All Rights Reserved.