org.drools.semantics.groovy
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.groovy.NonBooleanExprException
All Implemented Interfaces:
java.io.Serializable

public class NonBooleanExprException
extends ConditionException

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

See Also:
Serialized Form

Constructor Summary
NonBooleanExprException(java.lang.String expr)
          Construct.
 
Method Summary
 java.lang.String getExpression()
          Retrieve the non-boolean expression.
 java.lang.String getMessage()
          Retrieve the error message.
 
Methods inherited from class org.drools.spi.ConditionException
getRule
 
Methods inherited from class org.drools.DroolsException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, 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(java.lang.String expr)
Construct.

Parameters:
expr - The invalid expression.
Method Detail

getExpression

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

Returns:
The expression.

getMessage

public java.lang.String getMessage()
Retrieve the error message.

Overrides:
getMessage in class java.lang.Throwable
Returns:
The error message.