public class BundleException
extends java.lang.Exception
BundleException object is created by the Framework to denote an exception condition in the lifecycle of a bundle. BundleExceptions should not be created by bundle developers.
Constructor and Description |
---|
BundleException(java.lang.String msg)
Creates a BundleException object with the specified message.
|
BundleException(java.lang.String msg,
java.lang.Throwable throwable)
Creates a BundleException that wraps another exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getNestedException()
Returns any nested exceptions included in this exception.
|
public BundleException(java.lang.String msg, java.lang.Throwable throwable)
msg
- The associated message.throwable
- The nested exception.public BundleException(java.lang.String msg)
msg
- The message.