Package com.xmlmind.w2x.processor
Class UsageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.xmlmind.w2x.processor.UsageException
-
- All Implemented Interfaces:
Serializable
public final class UsageException extends Exception
An exception raised byProcessor.configure(String[])when this method cannot parse itsargsstring array.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UsageException(String optionsDoc, String error, URL errorURL)Constructs an UsageException.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringjoinMessage(String optionsDoc, String error, URL errorURL)Joins specified information to form a complete error message.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
optionsDoc
public final String optionsDoc
A short help text about the options supported by theprocessmethod.
-
error
public final String error
The error message. Isnullif the error is a plain syntax error (for example, a missing input file).
-
errorURL
public final URL errorURL
The URL of the options file (see-foption) having an error. Isnullif the error was not found in an options file.
-
-