org.osgi.framework
Class BundleException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.osgi.framework.BundleException
- All Implemented Interfaces:
- java.io.Serializable
- public class BundleException
- extends java.lang.Exception
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.
- See Also:
- Serialized Form
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, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BundleException
public BundleException(java.lang.String msg,
java.lang.Throwable throwable)
- Creates a BundleException that wraps another exception.
- Parameters:
msg
- The associated message.throwable
- The nested exception.
BundleException
public BundleException(java.lang.String msg)
- Creates a BundleException object with the specified message.
- Parameters:
msg
- The message.
getNestedException
public java.lang.Throwable getNestedException()
- Returns any nested exceptions included in this exception.
- Returns:
- The nested exception; null if there is
no nested exception.
Copyright (c) The Open Services Gateway Initiative (2000-2001). All Rights Reserved.