BundleException

Syntax

public class BundleException extends java.lang.Exception

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.osgi.framework.BundleException
					

All Implemented Interfaces:

java.io.Serializable

Description

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
publicBundleException(String)
 Create a bundle exception with the given message.
publicBundleException(String, Throwable)
 Create a bundle exception that wraps another exception.
Methods
public ThrowablegetNestedException()
 Retrieve any nested exception included in this exception.

Constructors

BundleException(String)
public BundleException(java.lang.String msg)

Create a bundle exception with the given message.

Parameters:

msg— The message.

BundleException(String, Throwable)
public BundleException(java.lang.String msg,
            java.lang.Throwable throwable)

Create a bundle exception that wraps another exception.

Parameters:

msg— The associated message.

throwable— The nested exception.

Methods

getNestedException()
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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.186.219