Class CommandException

java.lang.Object
java.lang.Throwable
java.lang.Exception
wt.util.WTException
com.ptc.core.command.common.CommandException
All Implemented Interfaces:
Serializable, LocalizableMessage, Message
Direct Known Subclasses:
InvalidCommandFeedbackMessageException, NullFeedbackSpecException, PartialResultContainerException

public class CommandException extends WTException implements Serializable
Generalizes the notion of erroneous behavior of commands. An instance of the CommandException or one of its subclasses can be thrown by, and thus the result of executing a command.

This class is intended to be extended to specify explicit types of exceptions that are applicable to be thrown from specialized commands. Given this the approach should be to define a class of exceptions that are useful for consumers to handle if applicable.



Supported API: true

Extendable: false
See Also: