public class RuntimeMBeanException extends JMRuntimeException
java.lang.RuntimeException exception thrown. This exception will be built by the MBeanServer when a call to an MBean method throws a runtime exception.
| Constructor and Description |
|---|
RuntimeMBeanException(RuntimeException
Creates a
RuntimeMBeanException that wraps the actual
java.lang.RuntimeException.
|
RuntimeMBeanException(RuntimeException
Creates a
RuntimeMBeanException that wraps the actual
java.lang.RuntimeException with a detailed message.
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause()
Returns the actual
RuntimeException thrown.
|
RuntimeException |
getTargetException()
Returns the actual
RuntimeException thrown.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RuntimeMBeanException(RuntimeExceptione)
RuntimeMBeanException that wraps the actual
java.lang.RuntimeException.
e - the wrapped exception.
public RuntimeMBeanException(RuntimeExceptione, String message)
RuntimeMBeanException that wraps the actual
java.lang.RuntimeException with a detailed message.
e - the wrapped exception.
message - the detail message.
public RuntimeExceptiongetTargetException()
RuntimeException thrown.
RuntimeException.
public ThrowablegetCause()
RuntimeException thrown.
getCause in class
Throwable
RuntimeException.