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 e)Creates a  RuntimeMBeanExceptionthat wraps the actualjava.lang.RuntimeException. | 
| RuntimeMBeanException(RuntimeException e,
                     String message)Creates a  RuntimeMBeanExceptionthat wraps the actualjava.lang.RuntimeExceptionwith
 a detailed message. | 
| Modifier and Type | Method and Description | 
|---|---|
| Throwable | getCause()Returns the actual  RuntimeExceptionthrown. | 
| RuntimeException | getTargetException()Returns the actual  RuntimeExceptionthrown. | 
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RuntimeMBeanException(RuntimeException e)
RuntimeMBeanException that wraps the actual java.lang.RuntimeException.e - the wrapped exception.public RuntimeMBeanException(RuntimeException e, String message)
RuntimeMBeanException that wraps the actual java.lang.RuntimeException with
 a detailed message.e - the wrapped exception.message - the detail message.public RuntimeException getTargetException()
RuntimeException thrown.RuntimeException.public Throwable getCause()
RuntimeException thrown.getCause in class ThrowableRuntimeException. Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2011, Oracle and/or its affiliates.  All rights reserved.