org.drools.semantics.java
Class NonBooleanExprException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.drools.DroolsException
              extended by org.drools.FactException
                  extended by org.drools.AssertionException
                      extended by org.drools.spi.ConditionException
                          extended by org.drools.semantics.java.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.3 2004/09/17 00:27:34 mproctor Exp $
Author:
bob mcwhirter
See Also:
Serialized Form

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-2005 The Codehaus. All Rights Reserved.