com.martiansoftware.jsap
Class ParseException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.martiansoftware.jsap.JSAPException
              extended bycom.martiansoftware.jsap.ParseException
All Implemented Interfaces:
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
ParseException()
          Creates 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.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParseException

public ParseException()
Creates a new ParseException.


ParseException

public ParseException(String msg)
Creates a new ParseException with the specified message.

Parameters:
msg - the message for this ParseException.

ParseException

public ParseException(Throwable cause)
Creates a new ParseException encapsulating the specified Throwable.

Parameters:
cause - the Throwable to encapsulate.

ParseException

public ParseException(String msg,
                      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.


Copyright © 2002-2006, Martian Software, Inc.. All Rights Reserved.
For the latest version and documentation, please visit http://www.martiansoftware.com/jsap