Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public static class CommandLine.ParameterException

  1. Object
  2. Throwable
  3. Exception
  4. RuntimeException
  5. CommandLine.ParameterException
A command line that does not parse.

Constructors

public ParameterException(CommandSpec spec, String message)Creates the exception for spec’s command line.
public ParameterException(CommandSpec spec, String message, Throwable cause)Creates the exception for spec’s command line, caused by cause.

Methods

public CommandSpec getCommandSpec()The command whose arguments were wrong.

Inherited methods

Constructor details

ParameterException

public ParameterException(CommandSpec spec, String message)
Creates the exception for spec’s command line.

ParameterException

public ParameterException(CommandSpec spec, String message, Throwable cause)
Creates the exception for spec’s command line, caused by cause.

Method details

getCommandSpec

public CommandSpec getCommandSpec()
The command whose arguments were wrong.