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. BecausePlease see commentary on
OsgiFramework.installBundle(String)
andOsgiFramework.startBundles(java.util.List, boolean)
for a description of exception-safety issues to consider when installing bundles that use theOsgiHeader.PREINSTALL_BUNDLE
manifest instruction.- Author:
- Simon Thoresen Hult
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BundleInstallationException(Collection<org.osgi.framework.Bundle> installedBundles, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.osgi.framework.Bundle>
installedBundles()
-
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 Detail
-
BundleInstallationException
public BundleInstallationException(Collection<org.osgi.framework.Bundle> installedBundles, Throwable cause)
-
-
Method Detail
-
installedBundles
public List<org.osgi.framework.Bundle> installedBundles()
-
-