ParseException
Date: 2017-02-08

com.github.zafarkhaja.semver

## Class ParseException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - com.github.zafarkhaja.semver.ParseException

- All Implemented Interfaces:
    java.io.Serializable
  Direct Known Subclasses:
    LexerException, UnexpectedCharacterException, UnexpectedTokenException

      public class ParseException
      extends java.lang.RuntimeException

  Thrown to indicate an error during the parsing.
  Since:
    0.7.0
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ParseException()` Constructs a `ParseException` instance with no error message.
    `ParseException(java.lang.String message)` Constructs a `ParseException` instance with an error message.
    `ParseException(java.lang.String message, UnexpectedCharacterException cause)` Constructs a `ParseException` instance with an error message and the cause exception.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `toString()` Returns the string representation of this exception.

    - ### Methods inherited from class java.lang.Throwable

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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ParseException

          public ParseException()

      Constructs a `ParseException` instance with no error message.

    - #### ParseException

          public ParseException(java.lang.String message)

      Constructs a `ParseException` instance with an error message.
      Parameters:
        `message` - the error message

    - #### ParseException

          public ParseException(java.lang.String message,
                        UnexpectedCharacterException cause)

      Constructs a `ParseException` instance with an error message and the cause exception.
      Parameters:
        `message` - the error message
        `cause` - an exception that caused this exception

  - ### Method Detail

    - #### toString

          public java.lang.String toString()

      Returns the string representation of this exception.
      Overrides:
        `toString` in class `java.lang.Throwable`
      Returns:
        the string representation of this exception