javax.management.remote
Class JMXServerErrorException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjavax.management.remote.JMXServerErrorException
All 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.0
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, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 Detail

getCause

public Throwable getCause()

JMX Remote API Specification 1.0 Final Release
Generated from RI build jmxremote-1_0_1_03-b57.1 2005.02.08_17:20:23_MET

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.