org.drools
Class PackageIntegrationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.drools.CheckedDroolsException
              extended byorg.drools.IntegrationException
                  extended byorg.drools.PackageIntegrationException
All Implemented Interfaces:
java.io.Serializable

public class PackageIntegrationException
extends IntegrationException

Indicates an error integrating a Package into a RuleBase.

See Also:
RuleBase#addRule, RuleBase.addPackage(org.drools.rule.Package), Serialized Form
 

Constructor Summary
PackageIntegrationException(Package pkg)
           
PackageIntegrationException(Package pkg, java.lang.Throwable cause)
           
PackageIntegrationException(java.lang.String message, Package pkg)
           
 
Method Summary
 Package getPackage()
          Retrieve the Package.
 
Methods inherited from class org.drools.CheckedDroolsException
getRootCause
 
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

PackageIntegrationException

public PackageIntegrationException(java.lang.String message,
                                   Package pkg)
Parameters:
pkg - The offending rule.
See Also:
Exception.Exception()

PackageIntegrationException

public PackageIntegrationException(Package pkg)
Parameters:
pkg - The offending rule.
See Also:
Exception.Exception()

PackageIntegrationException

public PackageIntegrationException(Package pkg,
                                   java.lang.Throwable cause)
Parameters:
pkg - The offending rule.
See Also:
Exception.Exception(Throwable cause)
Method Detail

getPackage

public Package getPackage()
Retrieve the Package.

Returns:
The pkg