com.ibm.broker.plugin

Class MbJavaException

  • All Implemented Interfaces:
    java.io.Serializable


    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.

    See Also:
    Serialized Form
    • Method Detail

      • getNestedExceptions

        public MbException[] getNestedExceptions()
        An MbJavaException does not have any nested exceptions so an empty array will always be returned.
        Overrides:
        getNestedExceptions in class MbException
        Returns:
        An empty array.
      • getThrowable

        public java.lang.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.
IBM Integration BusTM
JavaTM Plugin Node API