Interface UnknownArgumentHandler


public interface UnknownArgumentHandler
Interface defining unknown argument handlers, given the opportunity to either ignore the issue or force the parameter to be dealt with.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when an unknown argument is supplied.
  • Method Details

    • handleUnknownArgument

      void handleUnknownArgument(String form, String[] params) throws UsageException
      Called when an unknown argument is supplied.
      Parameters:
      form - argument name used
      params - parameters passed into it
      Throws:
      UsageException - when the user needs to fix it