Package org.apache.sshd.common.future
Interface WithException
- All Known Subinterfaces:
AuthFuture
,Cancellable
,ConnectFuture
,IoConnectFuture
,OpenFuture
- All Known Implementing Classes:
DefaultAuthFuture
,DefaultCancellableSshFuture
,DefaultConnectFuture
,DefaultIoConnectFuture
,DefaultOpenFuture
public interface WithException
Something that may carry a failure exception.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the cause of the failure.void
setException
(Throwable exception) Sets the exception that caused the operation to fail.