javax.management.remote

Class JMXServerErrorException

Implemented Interfaces:
Serializable

public class JMXServerErrorException
extends IOException

Exception thrown as the result of a remote MBeanServer method invocation when an Error is thrown while processing the invocation in the remote MBean server. A JMXServerErrorException instance contains the original Error that occurred as its cause.
Since:
1.5
See Also:
ServerError, Serialized Form

Constructor Summary

JMXServerErrorException(String s, Error err)
Constructs a JMXServerErrorException with the specified detail message and nested error.

Method Summary

Throwable
getCause()

Methods inherited from class java.lang.Throwable

fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

JMXServerErrorException

public JMXServerErrorException(String s,
                               Error err)
Constructs a JMXServerErrorException with the specified detail message and nested error.
Parameters:
s - the detail message.
err - the nested error. An instance of this class can be constructed where this parameter is null, but the standard connectors will never do so.

Method Details

getCause

public Throwable getCause()
Overrides:
getCause in interface Throwable