public class

RuntimeOperationsException

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

Class Overview

Represents runtime exceptions thrown in the agent when performing operations on MBeans. It wraps the actual java.lang.RuntimeException thrown.

Summary

Public Constructors
RuntimeOperationsException(RuntimeException e)
Creates a RuntimeOperationsException that wraps the actual java.lang.RuntimeException.
RuntimeOperationsException(RuntimeException e, String message)
Creates a RuntimeOperationsException 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 RuntimeOperationsException (RuntimeException e)

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

Parameters
e the wrapped exception.

public RuntimeOperationsException (RuntimeException e, String message)

Creates a RuntimeOperationsException 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