org.drools.core
Class PackageIntegrationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.drools.core.RuntimeDroolsException
org.drools.core.IntegrationException
org.drools.core.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.core.rule.Package),
Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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)
getPackage
public Package getPackage()
- Retrieve the
Package.
- Returns:
- The pkg
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.