org.drools.semantics.java
Class CompilationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.drools.DroolsException
              extended by org.drools.semantics.java.CompilationException
All Implemented Interfaces:
Serializable

public class CompilationException
extends DroolsException

See Also:
Serialized Form

Constructor Summary
CompilationException(Rule rule, String text, int lineNumber, int columnNumber, String errorMessage)
           
 
Method Summary
 int getColumNumber()
           
 String getErrorMessage()
           
 int getLineNumber()
           
 String getMessage()
          Retrieve the error message.
 Rule getRule()
           
 String getText()
           
 
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

CompilationException

public CompilationException(Rule rule,
                            String text,
                            int lineNumber,
                            int columnNumber,
                            String errorMessage)
Method Detail

getRule

public Rule getRule()

getText

public String getText()

getLineNumber

public int getLineNumber()

getColumNumber

public int getColumNumber()

getErrorMessage

public String getErrorMessage()

getMessage

public String getMessage()
Description copied from class: DroolsException
Retrieve the error message.

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


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