Class Hierarchy All Classes All Fields and Methods

Class com.ibm.broker.plugin.MbJavaException

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 Index
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.

Methods

getNestedExceptions

public MbException[] getNestedExceptions() 

An MbJavaException does not have any nested exceptions so an empty array will always be returned.

getThrowable

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.

Class Hierarchy All Classes All Fields and Methods