Package org.metricshub.ipmi.client
Class IpmiClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.metricshub.ipmi.client.IpmiClientException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IpmiAuthenticationException,IpmiCompletionCodeException,IpmiConnectionException,IpmiTimeoutException
A failure of an
IpmiClient operation. The subclasses tell what to act on: the BMC refused the login
(IpmiAuthenticationException), the session could not be established for a network reason
(IpmiConnectionException), the operation or a message of the session got no reply in time
(IpmiTimeoutException), or the BMC answered a command with an error completion code
(IpmiCompletionCodeException). The base class covers the rest: no cipher suite in common, a BMC without IPMI
2.0 (RMCP+), handshake replies that do not match the request, an interrupted operation (the interrupt status is
restored).
The checked exception of the protocol core that caused the failure, when there is one, is the
Throwable.getCause().
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIpmiClientException(String message) Creates the exception.IpmiClientException(String message, Throwable cause) Creates the exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IpmiClientException
Creates the exception.- Parameters:
message- what failed
-
IpmiClientException
Creates the exception.- Parameters:
message- what failedcause- the failure of the protocol core
-