Class JmxServerConnectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.opennms.netmgt.jmx.connection.JmxServerConnectionException
-
- All Implemented Interfaces:
Serializable
public class JmxServerConnectionException extends Exception
Is used to indicate that a connection to a JMX Server (MBeanServer) could not be established. The reason may be that the server is not reachable, or credentials are invalid or there is noJmxServerConnector
registered for theJmxConnectors
. The exception'serrorMessage
should provide details about the concrete error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JmxServerConnectionException(IOException ioException)
JmxServerConnectionException(String errorMessage)
JmxServerConnectionException(String errorMessage, Exception exception)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
JmxServerConnectionException
public JmxServerConnectionException(String errorMessage)
-
JmxServerConnectionException
public JmxServerConnectionException(IOException ioException)
-
-