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 classIllegalMultipleDeclarationExceptionAn exception indicating that a parameter has illegally been declared multiple times.classParseExceptionA JSAPException subclass notifying the application of a parse error.classRequiredParameterMissingExceptionAn exception indicating that a required parameter was missing from the supplied arguments and defaults.classSyntaxExceptionAn exception indicating that a syntax error was encountered in the argument list.classUnknownFlagExceptionAn exception indicating that a unknown flag has been specified.Methods in com.martiansoftware.jsap that throw JSAPException Modifier and Type Method Description protected voidOption. register()Informs this Option's StringParser that this Option is being registered with a JSAP.voidJSAP. 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 voidJSAPConfig. 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
-