Package com.yahoo.jdisc.application
Class BundleInstallationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.osgi.framework.BundleException
com.yahoo.jdisc.application.BundleInstallationException
- All Implemented Interfaces:
Serializable
public final class BundleInstallationException
extends org.osgi.framework.BundleException
This exception is thrown by OsgiFramework.installBundle(String)
if installation failed. Because
Please see commentary on OsgiFramework.installBundle(String)
and OsgiFramework.startBundles(java.util.List, boolean)
for a description of exception-safety issues to consider when
installing bundles that use the OsgiHeader.PREINSTALL_BUNDLE
manifest instruction.
- Author:
- Simon Thoresen Hult
- See Also:
-
Field Summary
Fields inherited from class org.osgi.framework.BundleException
ACTIVATOR_ERROR, DUPLICATE_BUNDLE_ERROR, INVALID_OPERATION, MANIFEST_ERROR, NATIVECODE_ERROR, READ_ERROR, REJECTED_BY_HOOK, RESOLVE_ERROR, SECURITY_ERROR, START_TRANSIENT_ERROR, STATECHANGE_ERROR, UNSPECIFIED, UNSUPPORTED_OPERATION
-
Constructor Summary
ConstructorDescriptionBundleInstallationException
(Collection<org.osgi.framework.Bundle> installedBundles, Throwable cause) -
Method Summary
Methods inherited from class org.osgi.framework.BundleException
getCause, getNestedException, getType, initCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BundleInstallationException
public BundleInstallationException(Collection<org.osgi.framework.Bundle> installedBundles, Throwable cause)
-
-
Method Details
-
installedBundles
-