RequiredParameterMissingException (JSAP: the Java Simple Argument Parser)
Keywords: com.martiansoftware.jsap.RequiredParameterMissingException class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.martiansoftware.jsap
Class RequiredParameterMissingException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              com.martiansoftware.jsap.JSAPException
                  com.martiansoftware.jsap.RequiredParameterMissingException

All Implemented Interfaces:
  Serializable

    public class RequiredParameterMissingException

extends JSAPException

An exception indicating that a required parameter was missing from the supplied arguments and defaults.

Author:
  Marty Lamb
See Also:
  `FlaggedOption.setAllowMultipleDeclarations(boolean)`, `Option.required()`, Serialized Form

Constructor Summary
`RequiredParameterMissingException(String paramID)` Creates a new RequiredParameterMissingException referencing the specified parameter.

Method Summary
`String` | `getID()` Returns the unique ID of the parameter that was missing.

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### RequiredParameterMissingException

    public RequiredParameterMissingException(String paramID)

  Creates a new RequiredParameterMissingException referencing the specified parameter.

  Parameters:
    `paramID` - the unique ID of the parameter that was missing.

Method Detail

### getID

    public String getID()

  Returns the unique ID of the parameter that was missing.

  Returns:
    the unique ID of the parameter that was missing.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2005, Martian Software, Inc.. All Rights Reserved.
For the latest version and documentation, please visit http://www.martiansoftware.com/jsap