org.drools
Class DroolsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.drools.DroolsException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CompilationException, FactException, FactoryException, IntegrationException, MissingDeclarationException, ReteException, RuleBuilder.InvalidParameterException, RuleBuilder.InvalidPojoConditionException, RuleBuilder.InvalidReturnTypeException, RuleConstructionException, SemanticModuleException

public class DroolsException
extends java.lang.Exception

Base drools Logic Engine exception.

See Also:
Serialized Form

Constructor Summary
DroolsException()
           
DroolsException(java.lang.String message)
           
DroolsException(java.lang.String message, java.lang.Throwable cause)
           
DroolsException(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.Throwable getRootCause()
          Deprecated. Use Throwable.getCause()
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

DroolsException

public DroolsException()
See Also:
Exception.Exception()

DroolsException

public DroolsException(java.lang.String message)
See Also:
Exception.Exception(String message)

DroolsException

public DroolsException(java.lang.String message,
                       java.lang.Throwable cause)
See Also:
Exception.Exception(String message, Throwable cause)

DroolsException

public DroolsException(java.lang.Throwable cause)
See Also:
Exception.Exception(Throwable cause)
Method Detail

getRootCause

public java.lang.Throwable getRootCause()
Deprecated. Use Throwable.getCause()

Get the root cause, if any.

Returns:
The root cause of this exception, as a Throwable, if this exception has a root cause, else null.