de.caff.util.args

## Class UnknownSwitchException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - de.caff.util.args.UnknownSwitchException

- All Implemented Interfaces:
    java.io.Serializable

      public class UnknownSwitchException
      extends java.lang.Exception

  Exception thrown if an unknown switch was encountered on the command line.
  Since:
    January 27, 2019
  Author:
    Rammi
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UnknownSwitchException(java.lang.String unknownSwitch)` Constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getUnknownSwitch()` Get the unknown switch encounterd on the command line.

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

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 Detail

    - #### UnknownSwitchException

          public UnknownSwitchException(@NotNull
                                        java.lang.String unknownSwitch)

      Constructor.
      Parameters:
        `unknownSwitch` - unknown switch encountered on the command line

  - ### Method Detail

    - #### getUnknownSwitch

          @NotNull
          public java.lang.String getUnknownSwitch()

      Get the unknown switch encounterd on the command line.
      Returns:
        unknown switch