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.
Modifier and Type | Field and Description |
---|---|
private List<org.osgi.framework.Bundle> |
installedBundles |
Constructor and Description |
---|
BundleInstallationException(Collection<org.osgi.framework.Bundle> installedBundles,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
List<org.osgi.framework.Bundle> |
installedBundles() |
getCause, getNestedException, getType, initCause
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private final List<org.osgi.framework.Bundle> installedBundles
public BundleInstallationException(Collection<org.osgi.framework.Bundle> installedBundles, Throwable cause)
public List<org.osgi.framework.Bundle> installedBundles()
Copyright © 2018. All rights reserved.