stella.error
Interface CommandKnowledge

All Known Implementing Classes:
AcknowledgeTimeOut, CompletionTimeOut, LateReply, TimeOutError

public interface CommandKnowledge

An interface indicating that this error knows about the command it was connected to.

See Also:
ErrorEvent

Method Summary
 CommandEvent getCommand()
          Returns the target that was active when this error was thrown.
 void setCommand(CommandEvent ce)
          Sets the target that was active when this error was thrown.
 

Method Detail

getCommand

CommandEvent getCommand()
Returns the target that was active when this error was thrown. Only used for errors that have an immediate connection to the target like a TargetPicked status.


setCommand

void setCommand(CommandEvent ce)
Sets the target that was active when this error was thrown. Only used for errors that have an immediate connection to the target like a TargetPicked status.