Package 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.
-
-
Constructor Summary
Constructors Constructor Description RequiredParameterMissingException(String paramID)
Creates a new RequiredParameterMissingException referencing the specified parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getID()
Returns the unique ID of the parameter that was missing.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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.
-
-