org.ops4j.pax.radman.service.bundleManager
Class BundleStopFailException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ops4j.pax.radman.service.bundleManager.OSGiBundleManagerException
org.ops4j.pax.radman.service.bundleManager.BundleStopFailException
- All Implemented Interfaces:
- java.io.Serializable
public final class BundleStopFailException
- extends OSGiBundleManagerException
BundleStopFailException is thrown when the requested bundle failed to be stopped.
- Since:
- 0.1.0
- Author:
- Edward Yakop
- See Also:
To get the cause why stopping fails.,
To get the bundle symbolic name.,
To get the bundle version.,
The method that throws this exception.,
Serialized Form
|
Constructor Summary |
BundleStopFailException(java.lang.String bundleSymbolicName,
java.lang.String bundleVersion,
org.osgi.framework.BundleException e)
Construct an instance of BundleStopFailException with the specified arguments. |
|
Method Summary |
java.lang.String |
getBundleSymbolicName()
Returns the bundle's symbolic name that failed to be stopped. |
java.lang.String |
getBundleVersion()
Returns the bundle's version that failed to be stopped. |
| 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 |
BundleStopFailException
public BundleStopFailException(java.lang.String bundleSymbolicName,
java.lang.String bundleVersion,
org.osgi.framework.BundleException e)
- Construct an instance of
BundleStopFailException with the specified arguments.
- Parameters:
bundleSymbolicName - The bundle symbolic name that failed to be stopped. This argument must not be
null.bundleVersion - The bundle version that failed to be stopped. This argument must not be null.e - The exception thrown due to fail stop.- Since:
- 0.1.0
getBundleSymbolicName
public final java.lang.String getBundleSymbolicName()
- Returns the bundle's symbolic name that failed to be stopped.
- Returns:
- The bundle's symbolic name that fialed to be stopped.
- Since:
- 0.1.0
getBundleVersion
public final java.lang.String getBundleVersion()
- Returns the bundle's version that failed to be stopped.
- Returns:
- The bundle's version that failed to be stopped.
- Since:
- 0.1.0
Copyright © 2008. All Rights Reserved.