Uses of Class
com.martiansoftware.jsap.JSAPException
Packages that use JSAPException
-
Uses of JSAPException in com.martiansoftware.jsap
Subclasses of JSAPException in com.martiansoftware.jsapModifier and TypeClassDescriptionclass
An exception indicating that a parameter has illegally been declared multiple times.class
A JSAPException subclass notifying the application of a parse error.class
An exception indicating that a required parameter was missing from the supplied arguments and defaults.class
An exception indicating that a syntax error was encountered in the argument list.class
An exception indicating that a unknown flag has been specified.Methods in com.martiansoftware.jsap that throw JSAPExceptionModifier and TypeMethodDescriptionprotected void
Option.register()
Informs this Option's StringParser that this Option is being registered with a JSAP.void
JSAP.registerParameter
(Parameter param) Registers the specified Parameter (i.e., Switch, FlaggedOption, or UnflaggedOption) with this JSAP.Constructors in com.martiansoftware.jsap that throw JSAPExceptionModifierConstructorDescriptionCreates a new JSAP configured as specified in the referenced xml.Creates a new JSAP configured as specified in the referenced xml.SimpleJSAP
(String name) Creates a new simple JSAP with a help switch, no explanation and default screen width.SimpleJSAP
(String name, String explanation) Creates a new simple JSAP with default screen width.SimpleJSAP
(String name, String explanation, Parameter[] parameter) Creates a new simple JSAP with default screen width. -
Uses of JSAPException in com.martiansoftware.jsap.xml
Methods in com.martiansoftware.jsap.xml that throw JSAPException