Exceptions in the command package
The command package defines a set of exception classes. The CommandException class extends the DistributedException class and acts as the base class for the additional command-related exceptions:
- UnauthorizedAccessException
- UnsetInputPropertiesException
- UnavailableCompensableCommandException
Applications can extend the CommandException class to define additional exceptions.
Although the CommandException class extends the DistributedException class, you do not have to import the distributed-exception package, com.ibm.websphere.exception, unless use the features of the DistributedException class in your application.
Related tasks
Writing command interfaces