W3cubDocs

/OpenJDK 21

Class JMXServerErrorException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
javax.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.5
See Also:

Constructor Summary

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

Method Summary

Methods declared in class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.management/javax/management/remote/JMXServerErrorException.html