java.lang.Object java.lang.Throwable java.lang.Exception com.ibm.broker.plugin.MbException com.ibm.broker.plugin.MbJavaException
public class MbJavaException
extends MbException
This class provides a wrapper of any non-broker Java exceptions ( subclasses of Throwable
) thrown from within a Java plug-in.
The original throwable object can be retrieved by calling getThrowable.
Exceptions of this type should not be thrown back to the broker.
See MbException for details of the exception list and how it may be traversed.
Method | Description |
---|---|
MbException[] getNestedExceptions() | An MbJavaException does not have any nested exceptions so an empty
array will always be returned. |
Throwable getThrowable() | Returns the wrappered Throwable object. |
public MbException[] getNestedExceptions()An
MbJavaException
does not have any nested exceptions so an empty array will always be returned.
- Returns
- An empty array.
- Overrides
- getNestedExceptions in class MbException
public Throwable getThrowable()Returns the wrappered
Throwable
object.N.B. The stack trace of the exception will be missing as it is stored in a transient field and is therefore lost during serialization.
- Returns
- The wrappered exception.