public class

RuntimeMBeanException

extends JMRuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ javax.management.JMRuntimeException
           ↳ javax.management.RuntimeMBeanException

Class Overview

Represents runtime exceptions thrown by MBean methods in the agent. It "wraps" the actual java.lang.RuntimeException exception thrown. This exception will be built by the MBeanServer when a call to an MBean method throws a runtime exception.

Summary

Public Constructors
RuntimeMBeanException(RuntimeException e)
Creates a RuntimeMBeanException that wraps the actual java.lang.RuntimeException.
RuntimeMBeanException(RuntimeException e, String message)
Creates a RuntimeMBeanException that wraps the actual java.lang.RuntimeException with a detailed message.
Public Methods
Throwable getCause()
Returns the actual RuntimeException thrown.
RuntimeException getTargetException()
Returns the actual RuntimeException thrown.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public RuntimeMBeanException (RuntimeException e)

Creates a RuntimeMBeanException that wraps the actual java.lang.RuntimeException.

Parameters
e the wrapped exception.

public RuntimeMBeanException (RuntimeException e, String message)

Creates a RuntimeMBeanException that wraps the actual java.lang.RuntimeException with a detailed message.

Parameters
e the wrapped exception.
message the detail message.

Public Methods

public Throwable getCause ()

Returns the actual RuntimeException thrown.

Returns

public RuntimeException getTargetException ()

Returns the actual RuntimeException thrown.

Returns