Uses of Class
com.martiansoftware.jsap.JSAPException
-
Packages that use JSAPException Package Description com.martiansoftware.jsap com.martiansoftware.jsap.xml -
-
Uses of JSAPException in com.martiansoftware.jsap
Subclasses of JSAPException in com.martiansoftware.jsap Modifier and Type Class Description class
IllegalMultipleDeclarationException
An exception indicating that a parameter has illegally been declared multiple times.class
ParseException
A JSAPException subclass notifying the application of a parse error.class
RequiredParameterMissingException
An exception indicating that a required parameter was missing from the supplied arguments and defaults.class
SyntaxException
An exception indicating that a syntax error was encountered in the argument list.class
UnknownFlagException
An exception indicating that a unknown flag has been specified.Methods in com.martiansoftware.jsap that throw JSAPException Modifier and Type Method Description protected 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 JSAPException Constructor Description JSAP(java.lang.String resourceName)
Creates a new JSAP configured as specified in the referenced xml.JSAP(java.net.URL jsapXML)
Creates a new JSAP configured as specified in the referenced xml.SimpleJSAP(java.lang.String name)
Creates a new simple JSAP with a help switch, no explanation and default screen width.SimpleJSAP(java.lang.String name, java.lang.String explanation)
Creates a new simple JSAP with default screen width.SimpleJSAP(java.lang.String name, java.lang.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 Modifier and Type Method Description static void
JSAPConfig. configure(JSAP jsapToConfigure, java.net.URL jsapXML)
Loads a JSAP configuration from the xml at the specified URL, and configures the specified JSAP object accordingly
-