|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.osgi.framework.BundleException
public class BundleException
A Framework exception used to indicate that a bundle lifecycle problem occurred.
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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
java.lang.Throwable |
getNestedException()
Returns any nested exceptions included in this exception. |
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 |
---|
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.Method Detail |
---|
public java.lang.Throwable getNestedException()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |