Package com.martiansoftware.jsap
Class UnspecifiedParameterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.martiansoftware.jsap.UnspecifiedParameterException
- All Implemented Interfaces:
Serializable
An exception thrown when an argument that requires a conversion
(e.g., an integer) has no associated value, but it is retrieved
by means of a type-specified method (e.g.,
JSAPResult.getInt(String)
).- Author:
- Sebastiano Vigna
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnspecifiedParameterException
(String paramID) Creates a newUnspecifiedParameterException
referencing the specified parameter. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnspecifiedParameterException
Creates a newUnspecifiedParameterException
referencing the specified parameter.- Parameters:
paramID
- the unique ID of the parameter whose retrieval was attempted.
-
-
Method Details
-
getID
Returns the unique ID of the parameter whose retrieval was attempted.- Returns:
- the unique ID of the parameter whose retrieval was attempted.
-