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.
  • Method Summary

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • 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.