public static final class Tcp.CommandFailed extends java.lang.Object implements Tcp.Event, scala.Product, scala.Serializable
Constructor and Description |
---|
CommandFailed(Tcp.Command cmd) |
Modifier and Type | Method and Description |
---|---|
scala.Option<java.lang.Throwable> |
cause()
Optionally contains the cause why the command failed.
|
java.lang.String |
causedByString() |
Tcp.Command |
cmd() |
java.lang.String |
toString() |
Tcp.CommandFailed |
withCause(java.lang.Throwable cause)
Creates a copy of this object with a new cause set.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public CommandFailed(Tcp.Command cmd)
public Tcp.Command cmd()
public scala.Option<java.lang.Throwable> cause()
public Tcp.CommandFailed withCause(java.lang.Throwable cause)
public java.lang.String causedByString()
public java.lang.String toString()
toString
in class java.lang.Object