public class JMXProviderException extends IOException
Exception thrown by JMXConnectorFactory
and
JMXConnectorServerFactory
when a provider exists for
the required protocol but cannot be used for some reason.
JMXConnectorFactory.newJMXConnector(javax.management.remote.JMXServiceURL, java.util.Map<java.lang.String, ?>)
,
JMXConnectorServerFactory.newJMXConnectorServer(javax.management.remote.JMXServiceURL, java.util.Map<java.lang.String, ?>, javax.management.MBeanServer)
,
Serialized FormConstructor and Description |
---|
JMXProviderException()
Constructs a
JMXProviderException with no
specified detail message. |
JMXProviderException(String message)
Constructs a
JMXProviderException with the
specified detail message. |
JMXProviderException(String message,
Throwable cause)
Constructs a
JMXProviderException with the
specified detail message and nested exception. |
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 JMXProviderException()
Constructs a JMXProviderException
with no
specified detail message.
public JMXProviderException(String message)
Constructs a JMXProviderException
with the
specified detail message.
message
- the detail message 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.