Top Description Fields Constructors Methods
javax.management

public Class RuntimeErrorException

extends JMRuntimeException
Class Inheritance

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

Field Summary

Modifier and TypeField and Description
private Error
private static final long

Constructor Summary

AccessConstructor and Description
public
RuntimeErrorException(Error
the wrapped error.
e
)

Default constructor.

public
RuntimeErrorException(Error
the wrapped error.
e
,
String
the detail message.
message
)

Constructor that allows a specific error message to be specified.

Method Summary

Modifier and TypeMethod and Description
public Throwable

Returns:

the wrapped Error.
getCause
()

Overrides java.lang.Throwable.getCause.

Returns the actual Error thrown.
public Error

Returns:

the wrapped Error.
getTargetError
()

Returns the actual Error thrown.

Field Detail

errorback to summary
private Error error
serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.management.JMRuntimeException.serialVersionUID.

Constructor Detail

RuntimeErrorExceptionback to summary
public RuntimeErrorException(Error e)

Default constructor.

Parameters
e:Error

the wrapped error.

RuntimeErrorExceptionback to summary
public RuntimeErrorException(Error e, String message)

Constructor that allows a specific error message to be specified.

Parameters
e:Error

the wrapped error.

message:String

the detail message.

Method Detail

getCauseback to summary
public Throwable getCause()

Overrides java.lang.Throwable.getCause.

Returns the actual Error thrown.

Returns:Throwable

the wrapped Error.

getTargetErrorback to summary
public Error getTargetError()

Returns the actual Error thrown.

Returns:Error

the wrapped Error.