org.drools
Class PackageIntegrationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.drools.RuntimeDroolsException
org.drools.IntegrationException
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
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-2012 JBoss by Red Hat. All Rights Reserved.