Top Description Fields Constructors Methods
javax.management

public Class RuntimeOperationsException

extends JMRuntimeException
Class Inheritance

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

Field Summary

Modifier and TypeField and Description
private RuntimeException
private static final long

Constructor Summary

AccessConstructor and Description
public
RuntimeOperationsException(RuntimeException
the wrapped exception.
e
)

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

public
RuntimeOperationsException(RuntimeException
the wrapped exception.
e
,
String
the detail message.
message
)

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

Method Summary

Modifier and TypeMethod and Description
public Throwable

Returns:

the wrapped RuntimeException.
getCause
()

Overrides java.lang.Throwable.getCause.

Returns the actual RuntimeException thrown.

public RuntimeException

Returns:

the wrapped RuntimeException.
getTargetException
()

Returns the actual RuntimeException thrown.

Field Detail

runtimeExceptionback to summary
private RuntimeException runtimeException
serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.management.JMRuntimeException.serialVersionUID.

Constructor Detail

RuntimeOperationsExceptionback to summary
public RuntimeOperationsException(RuntimeException e)

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

Parameters
e:RuntimeException

the wrapped exception.

RuntimeOperationsExceptionback to summary
public RuntimeOperationsException(RuntimeException e, String message)

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

Parameters
e:RuntimeException

the wrapped exception.

message:String

the detail message.

Method Detail

getCauseback to summary
public Throwable getCause()

Overrides java.lang.Throwable.getCause.

Returns the actual RuntimeException thrown.

Returns:Throwable

the wrapped RuntimeException.

getTargetExceptionback to summary
public RuntimeException getTargetException()

Returns the actual RuntimeException thrown.

Returns:RuntimeException

the wrapped RuntimeException.