public class

RuntimeErrorException

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

Class Overview

When a java.lang.Error occurs in the agent it should be caught and re-thrown as a RuntimeErrorException.

Summary

Public Constructors
RuntimeErrorException(Error e)
Default constructor.
RuntimeErrorException(Error e, String message)
Constructor that allows a specific error message to be specified.
Public Methods
Throwable getCause()
Returns the actual Error thrown.
Error getTargetError()
Returns the actual Error thrown.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public RuntimeErrorException (Error e)

Default constructor.

Parameters
e the wrapped error.

public RuntimeErrorException (Error e, String message)

Constructor that allows a specific error message to be specified.

Parameters
e the wrapped error.
message the detail message.

Public Methods

public Throwable getCause ()

Returns the actual Error thrown.

Returns

public Error getTargetError ()

Returns the actual Error thrown.

Returns