org.drools
Class PackageIntegrationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.drools.RuntimeDroolsException
                  extended by org.drools.IntegrationException
                      extended by org.drools.PackageIntegrationException
All Implemented Interfaces:
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, Throwable cause)
           
PackageIntegrationException(String message, Package pkg)
           
 
Method Summary
 Package getPackage()
          Retrieve the Package.
 
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(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,
                                   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


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.