javax.management
Class RuntimeErrorException

java.lang.Objec
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--javax.management.JMRuntimeException
                          |
                          +--

javax.management.RuntimeErrorException


public class

RuntimeErrorException

extends JMRuntimeException

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

Version:

1.6

Author:

Chiara Montecchio

See Also:

Serialized Form


Constructor Summary

java.lang.Error)">RuntimeErrorException(java.lang.Error e)
Creates an RuntimeErrorException that wraps the actual java.lang.Error.
java.lang.Error, java.lang.String)">RuntimeErrorException(java.lang.Error e, java.lang.String message)
Creates an RuntimeErrorException that wraps the actual java.lang.Error with a detailed message.
 

Method Summary

 java.lang.Error getTargetError()
 
 

Methods inherited from class java.lang.Throwable

fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

java.lang.Error)">

 

RuntimeErrorException

public 

RuntimeErrorException

(java.lang.Error e)
Creates an RuntimeErrorException that wraps the actual java.lang.Error.


java.lang.Error, java.lang.String)">

 

RuntimeErrorException

public 

RuntimeErrorException

(java.lang.Error e, java.lang.String message)
Creates an RuntimeErrorException that wraps the actual java.lang.Error with a detailed message.

Method Detail

 

getTargetError

public java.lang.Error 

getTargetError

()

Returns:

the actual java.lang.Error thrown.