CommandFormat.TooManyArgumentsException (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.fs.shell, class: CommandFormat, class: TooManyArgumentsException

Package org.apache.hadoop.fs.shell

# Class CommandFormat.TooManyArgumentsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.apache.hadoop.fs.shell.CommandFormat.IllegalNumberOfArgumentsException
org.apache.hadoop.fs.shell.CommandFormat.TooManyArgumentsException

All Implemented Interfaces:
  `Serializable`

Enclosing class:
  CommandFormat

public static class CommandFormat.TooManyArgumentsException extends CommandFormat.IllegalNumberOfArgumentsException
Used when too many arguments are supplied to a command

See Also:
  - Serialized Form

- ## Field Summary

  ### Fields inherited from class org.apache.hadoop.fs.shell.CommandFormat.IllegalNumberOfArgumentsException

  `actual, expected`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TooManyArgumentsException(int expected, int actual)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getMessage()`

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### TooManyArgumentsException

    public TooManyArgumentsException(int expected, int actual)

- ## Method Details

  - ### getMessage

    public String getMessage()
    Overrides:
      `getMessage` in class `CommandFormat.IllegalNumberOfArgumentsException`