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 interal 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 | 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() | Return the line in the file where the exception was generated. |
String getMessage() | Returns the full message with inserts. |
String getMessageKey() | Returns the key to 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 throw the exception. |
String getTraceText() | Returns the trace text. |
String toString() | Returns the String representation of the exception. |
public String getFileName()Returns the name of the file that generated the exception.
- Returns
- The string containing the name of the file which generated the exception.
public Object[] getInserts()Returns the object array containing the inserts in the message.
- Returns
- The String array containing the inserts in the message.
public int getLineNumber()Return the line in the file where the exception was generated.
- Returns
- The line in the file where the exception was generated.
public String getMessage()Returns the full message with inserts.
- Returns
- The full message.
- Overrides
- getMessage in class Throwable
public String getMessageKey()Returns the key to the message in the exception.
- Returns
- The key to the message in the exception.
public String getMessageSource()Returns the message source of the message in the exception.
- Returns
- The message source.
public String getMethodName()Returns the name of the method which throw the exception.
- Returns
- The name of the method which generated the exception.
public String getTraceText()Returns the trace text.
- Returns
- The text of the extra message in the exception.
public String toString()Returns the String representation of the exception.
- Returns
- A String representation of the exception.
- Overrides
- toString in class Throwable