Class Hierarchy All Classes All Fields and Methods

Class com.ibm.broker.plugin.MbBrokerException

java.lang.Object
        java.lang.Throwable
                java.lang.Exception
                        java.lang.RuntimeException
                                com.ibm.broker.plugin.MbBrokerException

public class MbBrokerException
extends RuntimeException

An MbBrokerException is thrown when an internal error occurs in the broker. Normal MbBrokerExceptions are not caught and will be passed back to the broker. However, if they are caught by user code they must be rethrown to the broker for additional error recovery to be performed.

Method Index
Method Description
String getFileName() Returns the name of the file that generated the exception.
Object[] getInserts() Returns the object array containing the inserts in the message.
int getLineNumber() Returns the line in the file where the exception was generated.
String getMessage() Returns the full message with inserts.
String getMessageKey() Returns the message key of the message in the exception.
String getMessageSource() Returns the message source of the message in the exception.
String getMethodName() Returns the name of the method which throws the exception.
MbException getNestedException() Returns the MbException object representing the first item in the exception list.
String getTraceText() Returns the trace text.
String toString() Returns the String representation of the exception.

Methods

getFileName

public String getFileName() 

Returns the name of the file that generated the exception.

getInserts

public Object[] getInserts() 

Returns the object array containing the inserts in the message.

getLineNumber

public int getLineNumber() 

Returns the line in the file where the exception was generated.

getMessage

public String getMessage() 

Returns the full message with inserts.

getMessageKey

public String getMessageKey() 

Returns the message key of the message in the exception.

getMessageSource

public String getMessageSource() 

Returns the message source of the message in the exception.

getMethodName

public String getMethodName() 

Returns the name of the method which throws the exception.

getNestedException

public MbException getNestedException() 

Returns the MbException object representing the first item in the exception list. The returned object will be of the correct MbXxxException sub-class and can be further traversed using the getNestedExceptions method of MbException.

getTraceText

public String getTraceText() 

Returns the trace text.

toString

public String toString() 

Returns the String representation of the exception.

Class Hierarchy All Classes All Fields and Methods