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:
  • Constructor Details

    • BundleInstallationException

      public BundleInstallationException(Collection<org.osgi.framework.Bundle> installedBundles, Throwable cause)
  • Method Details

    • installedBundles

      public List<org.osgi.framework.Bundle> installedBundles()