public abstract class SendableException
extends java.lang.RuntimeException
sendTo(CommandActor) method invoked
directly.| Constructor and Description |
|---|
SendableException()
Constructs a new
SendableException that does not send any message. |
SendableException(java.lang.String message)
Constructs a new
SendableException with an inferred actor |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
sendTo(@NotNull CommandActor actor)
Sends the message to the given actor
|
public SendableException()
SendableException that does not send any message.
Use this constructor if you would like to implement your own messaging
system instead of relying on CommandActor.reply(String).
public SendableException(java.lang.String message)
SendableException with an inferred actormessage - Message to sendpublic abstract void sendTo(@NotNull
@NotNull CommandActor actor)
actor - Actor to send to