Package org.apache.sshd.common.future
Interface WithException
-
- All Superinterfaces:
HasException
- All Known Subinterfaces:
AuthFuture
,Cancellable
,ConnectFuture
,IoConnectFuture
,OpenFuture
- All Known Implementing Classes:
DefaultAuthFuture
,DefaultCancellableSshFuture
,DefaultConnectFuture
,DefaultIoConnectFuture
,DefaultOpenFuture
public interface WithException extends HasException
Something that may carry a failure exception.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setException(java.lang.Throwable exception)
Sets the exception that caused the operation to fail.-
Methods inherited from interface org.apache.sshd.common.future.HasException
getException
-
-