public class BundleException extends java.lang.Exception
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.osgi.framework.BundleException
java.io.Serializable
Exception from the framework to indicate a bundle life cycle problem occurred. It is created by the framework to denote an exception condition in the life cycle of a bundle. BundleExceptions should not be created by bundle programmers.
Member Summary | |
---|---|
Constructors | |
public | BundleException(String) |
Create a bundle exception with the given message. | |
public | BundleException(String, Throwable) |
Create a bundle exception that wraps another exception. | |
Methods | |
public Throwable | getNestedException() |
Retrieve any nested exception included in this exception. |
public BundleException(java.lang.String msg)
Create a bundle exception with the given message.
Parameters:
public BundleException(java.lang.String msg,
java.lang.Throwable throwable)
Create a bundle exception that wraps another exception.
Parameters:
public java.lang.Throwable getNestedException()
Retrieve any nested exception included in this exception.
Returns: The nested exception, or null if there is no nested exception.
18.191.186.219