public class JMXServerErrorException extends IOException
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.ServerError
,
Serialized FormConstructor and Description |
---|
JMXServerErrorException(String s,
Error err)
Constructs a
JMXServerErrorException with the specified
detail message and nested error. |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Answers the cause of this Throwable, or null if there
is no cause.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public JMXServerErrorException(String s, Error err)
JMXServerErrorException
with the specified
detail message and nested error.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. Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.