Package org.apache.sshd.common.future
Interface WithException
- All Known Subinterfaces:
Cancellable,IoConnectFuture
- All Known Implementing Classes:
DefaultCancellableSshFuture,DefaultIoConnectFuture
public interface WithException
Something that may carry a failure exception.
- Author:
- Apache MINA SSHD Project
-
Method Summary
Modifier and TypeMethodDescriptionReturns the cause of the failure.voidsetException(Throwable exception) Sets the exception that caused the operation to fail.