Class DuplicateCommandException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.e1c.g5.v8.dt.internal.cli.api.DuplicateCommandException
All Implemented Interfaces:
Serializable

public class DuplicateCommandException extends RuntimeException
Internal exception to signal a duplicate command.
See Also:
  • Constructor Details

    • DuplicateCommandException

      public DuplicateCommandException(String namespace, String commandName, Class<? extends ICliCommand> commandProviderClass)
      Creates a new instance.
      Parameters:
      namespace - command namespace, cannot be null.
      commandName - command name , cannot be null.
      commandProviderClass - command provider class, cannot be null.
  • Method Details

    • getNamespace

      public String getNamespace()
      Returns command namespace.
      Returns:
      command namespace. Never null.
    • getCommandName

      public String getCommandName()
      Returns command name.
      Returns:
      command name. Never null.
    • getCommandProviderClass

      public Class<? extends ICliCommand> getCommandProviderClass()
      Returns command provider class.
      Returns:
      command provider class. Never null.