Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.management
Class RuntimeOperationsException  view RuntimeOperationsException download RuntimeOperationsException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.management.JMRuntimeException
                  extended byjavax.management.RuntimeOperationsException
All Implemented Interfaces:
java.io.Serializable

public class RuntimeOperationsException
extends JMRuntimeException

Wraps runtime exceptions thrown when performing operations on MBeans.

Version:
$Revision: 1.3.6.1 $

Revisions:

20020313 Juha Lindfors:

  • Overriding toString() to print out the root exception

20020711 Adrian Brock:

  • Serialization

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.lang.RuntimeException runtimeException
          The wrapped runtime exception.
private static long serialVersionUID
           
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
RuntimeOperationsException(java.lang.RuntimeException e)
          Construct a new RuntimeOperationsException from a given runtime exception.
RuntimeOperationsException(java.lang.RuntimeException e, java.lang.String message)
          Construct a new RuntimeOperationsException from a given runtime exception and message.
 
Method Summary
 java.lang.RuntimeException getTargetException()
          Retrieves the wrapped runtime exception.
 java.lang.String toString()
          Returns a string representation of this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

runtimeException

private java.lang.RuntimeException runtimeException
The wrapped runtime exception.

Constructor Detail

RuntimeOperationsException

public RuntimeOperationsException(java.lang.RuntimeException e)
Construct a new RuntimeOperationsException from a given runtime exception.


RuntimeOperationsException

public RuntimeOperationsException(java.lang.RuntimeException e,
                                  java.lang.String message)
Construct a new RuntimeOperationsException from a given runtime exception and message.

Method Detail

getTargetException

public java.lang.RuntimeException getTargetException()
Retrieves the wrapped runtime exception.


toString

public java.lang.String toString()
Returns a string representation of this exception. The returned string contains this exception name, message and a string representation of the target exception if it has been set.