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

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.BundleStartFailException
All Implemented Interfaces:
java.io.Serializable

public final class BundleStartFailException
extends OSGiBundleManagerException

BundleStartFailException is thrown when the requested bundle failed to be started.

Since:
0.1.0
Author:
Edward Yakop
See Also:
To get the cause why starting fails., To get the bundle symbolic name., To get the bundle version., The method that throws this exception., Serialized Form

Constructor Summary
BundleStartFailException(java.lang.String bundleSymbolicName, java.lang.String bundleVersion, org.osgi.framework.BundleException e)
          Construct an instance of BundleStartFailException with the specified arguments.
 
Method Summary
 java.lang.String getBundleSymbolicName()
          Returns the bundle's symbolic name that failed to be started.
 java.lang.String getBundleVersion()
          Returns the bundle's version that failed to be started.
 
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

BundleStartFailException

public BundleStartFailException(java.lang.String bundleSymbolicName,
                                java.lang.String bundleVersion,
                                org.osgi.framework.BundleException e)
Construct an instance of BundleStartFailException with the specified arguments.

Parameters:
bundleSymbolicName - The bundle symbolic name that failed to be started. This argument must not be null.
bundleVersion - The bundle version that failed to be started. This argument must not be null.
e - The exception thrown due to fail start.
Since:
0.1.0
Method Detail

getBundleSymbolicName

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

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

getBundleVersion

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

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


Copyright © 2008. All Rights Reserved.