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:
java.io.Serializable
public class ParseException extends JSAPException
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:
JSAPException
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParseException()
Creates a new ParseException.ParseException(java.lang.String msg)
Creates a new ParseException with the specified message.ParseException(java.lang.String msg, java.lang.Throwable cause)
Creates a new ParseException with the specified message encapsulating the specified Throwable.ParseException(java.lang.Throwable cause)
Creates a new ParseException encapsulating the specified Throwable.
-
-
-
Constructor Detail
-
ParseException
public ParseException()
Creates a new ParseException.
-
ParseException
public ParseException(java.lang.String msg)
Creates a new ParseException with the specified message.- Parameters:
msg
- the message for this ParseException.
-
ParseException
public ParseException(java.lang.Throwable cause)
Creates a new ParseException encapsulating the specified Throwable.- Parameters:
cause
- the Throwable to encapsulate.
-
ParseException
public ParseException(java.lang.String msg, java.lang.Throwable cause)
Creates a new ParseException with the specified message encapsulating the specified Throwable.- Parameters:
msg
- the message for this ParseException.cause
- the Throwable to encapsulate.
-
-