Class CommandException

All Implemented Interfaces:
Serializable

public class CommandException extends RuntimeException
A custom exception that represents errors occurring during the execution or processing of commands in the application.

This exception is a subclass of RuntimeException and is designed to signal command-specific failures that developers or users need to be made aware of.

This exception can be used in scenarios where command validation, execution, or configuration fails or encounters issues.

Developers can provide additional details about the failure by using the constructor that accepts a message.

See Also:
  • Constructor Details

    • CommandException

      public CommandException(String message)
    • CommandException

      public CommandException()
    • CommandException

      public CommandException(Exception exception)