Package com.martiansoftware.jsap
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.martiansoftware.jsap.JSAPException
com.martiansoftware.jsap.ParseException
- All Implemented Interfaces:
Serializable
A JSAPException subclass notifying the application of a parse error.
Additional information
in the form of an exception may be encapsulated in this object, as in other
JSAPExceptions.
- Author:
- Marty Lamb
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new ParseException.ParseException
(String msg) Creates a new ParseException with the specified message.ParseException
(String msg, Throwable cause) Creates a new ParseException with the specified message encapsulating the specified Throwable.ParseException
(Throwable cause) Creates a new ParseException encapsulating the specified Throwable. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParseException
public ParseException()Creates a new ParseException. -
ParseException
Creates a new ParseException with the specified message.- Parameters:
msg
- the message for this ParseException.
-
ParseException
Creates a new ParseException encapsulating the specified Throwable.- Parameters:
cause
- the Throwable to encapsulate.
-
ParseException
Creates a new ParseException with the specified message encapsulating the specified Throwable.- Parameters:
msg
- the message for this ParseException.cause
- the Throwable to encapsulate.
-