org.drools.semantics.python
Class NonBooleanExprException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.drools.DroolsException
              extended byorg.drools.FactException
                  extended byorg.drools.AssertionException
                      extended byorg.drools.spi.ConditionException
                          extended byorg.drools.semantics.python.NonBooleanExprException
All Implemented Interfaces:
Serializable

public class NonBooleanExprException
extends ConditionException

Indicates an attempt to use a non-boolean expression in a condition.

Version:
$Id: NonBooleanExprException.java,v 1.2 2004/09/17 00:34:39 mproctor Exp $
Author:
bob mcwhirter
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
NonBooleanExprException(String expr)
          Construct.
 
Method Summary
 String getExpression()
          Retrieve the non-boolean expression.
 String getMessage()
          Retrieve the error message.
 
Methods inherited from class org.drools.spi.ConditionException
getInfo, getRule, setInfo, setRule
 
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

NonBooleanExprException

public NonBooleanExprException(String expr)
Construct.

Parameters:
expr - The invalid expression.
Method Detail

getExpression

public String getExpression()
Retrieve the non-boolean expression.

Returns:
The expression.

getMessage

public String getMessage()
Retrieve the error message.

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


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