org.drools.semantics.java
Class JavaSemanticCompileError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.drools.semantics.java.JavaSemanticCompileError
All Implemented Interfaces:
java.io.Serializable

public class JavaSemanticCompileError
extends java.lang.RuntimeException

This exception gets thrown when there is an actual error compiling a java semantic components. Errors are passed back from JCI.

See Also:
Serialized Form

Constructor Summary
JavaSemanticCompileError(CompilationProblem[] errors)
           
 
Method Summary
 CompilationProblem[] getErrors()
           
 java.lang.String getMessage()
          This will return information about the errors that the semantic compiler returned.
 
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

JavaSemanticCompileError

public JavaSemanticCompileError(CompilationProblem[] errors)
Method Detail

getErrors

public CompilationProblem[] getErrors()

getMessage

public java.lang.String getMessage()
This will return information about the errors that the semantic compiler returned. More detail can be obtained by inspecting getErrors() array of CompilationProblems.

Overrides:
getMessage in class java.lang.Throwable