org.drools.semantics.java
Class MissingDeclarationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.drools.DroolsException
              extended byorg.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 Declarations.

See Also:
Serialized Form
 

Constructor Summary
MissingDeclarationException(java.lang.String expr, java.lang.String id)
          Construct.
 
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 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(java.lang.String expr,
                                   java.lang.String id)
Construct.

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

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.