Package org.metricshub.winrm.exceptions
Class WinRMClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.metricshub.winrm.exceptions.WinRMClientException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
WinRMAuthenticationException,WinRMFaultException,WinRMTimeoutException,WqlSyntaxException
Base unchecked exception of the fluent
WinRMClient API.
Specific failures are reported through the subtypes WinRMAuthenticationException,
WinRMFaultException, WinRMTimeoutException and WqlSyntaxException,
so callers can catch exactly what they care about — or just this type for everything.
The legacy checked exceptions (WinRMException, WindowsRemoteException,
WqlQuerySyntaxException) remain on the legacy API and are unaffected.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWinRMClientException(String message) Create the exception with a message.WinRMClientException(String message, Throwable cause) Create the exception with a message and the underlying cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WinRMClientException
Create the exception with a message.- Parameters:
message- the detail message
-
WinRMClientException
Create the exception with a message and the underlying cause.- Parameters:
message- the detail messagecause- the underlying cause
-