org.ops4j.pax.radman.service.bundleManager
Class UninstallBundleFailException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.ops4j.pax.radman.service.bundleManager.OSGiBundleManagerException
                  extended by org.ops4j.pax.radman.service.bundleManager.UninstallBundleFailException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BundleNotFoundException

public class UninstallBundleFailException
extends OSGiBundleManagerException

UninstallBundleFailException thrown when the bundle failed to be uninstalled.

Since:
0.1.0
Author:
Edward Yakop
See Also:
Serialized Form

Constructor Summary
  UninstallBundleFailException(java.lang.String bundleName, java.lang.String bundleVersion, org.osgi.framework.BundleException e)
           
protected UninstallBundleFailException(java.lang.String message, java.lang.String bundleName, java.lang.String bundleVersion)
           
 
Method Summary
 java.lang.String getBundleSymbolicName()
          Returns the bundle's symbolic name that failed to be uninstalled.
 java.lang.String getBundleVersion()
          Returns the bundle's version that failed to be uninstalled.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UninstallBundleFailException

protected UninstallBundleFailException(java.lang.String message,
                                       java.lang.String bundleName,
                                       java.lang.String bundleVersion)

UninstallBundleFailException

public UninstallBundleFailException(java.lang.String bundleName,
                                    java.lang.String bundleVersion,
                                    org.osgi.framework.BundleException e)
Method Detail

getBundleSymbolicName

public final java.lang.String getBundleSymbolicName()
Returns the bundle's symbolic name that failed to be uninstalled.

Returns:
The bundle's symbolic name that fialed to be uninstalled.
Since:
0.1.0

getBundleVersion

public final java.lang.String getBundleVersion()
Returns the bundle's version that failed to be uninstalled.

Returns:
The bundle's version that failed to be uninstalled.
Since:
0.1.0


Copyright © 2008. All Rights Reserved.