org.drools.semantics.java
Class NonBooleanExprException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.drools.DroolsException
org.drools.FactException
org.drools.AssertionException
org.drools.spi.ConditionException
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
Fields inherited from class java.lang.Exception |
|
NonBooleanExprException
public NonBooleanExprException(String expr)
- Construct.
- Parameters:
expr
- The invalid expression.
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.