Top Description Methods
org.apache.sshd.common.future

public Interface WithException

extends HasException
Known Direct Subinterfaces
org.apache.sshd.common.future.Cancellable

Something that may carry a failure exception.
Author
Apache MINA SSHD Project

Method Summary

Modifier and TypeMethod and Description
public void
setException(Throwable
The Throwable to set; must be non-null
exception
)

Sets the exception that caused the operation to fail.

Inherited from org.apache.sshd.common.future.HasException:
getException

Method Detail

setExceptionback to summary
public void setException(Throwable exception)

Sets the exception that caused the operation to fail.

Parameters
exception:Throwable

The Throwable to set; must be non-null