public class MbJavaException extends MbException
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.
Modifier and Type | Method and 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. |
addNestedException, getClassName, getInserts, getLocalizedMessage, getMessage, getMessageKey, getMessageSource, getMethodName, getTraceText, toString
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public MbException[] getNestedExceptions()
MbJavaException
does not have any nested exceptions so an empty
array will always be returned.getNestedExceptions
in class MbException
public Throwable getThrowable()
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.