# Class DateTimeParseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.time.DateTimeException
java.time.format.DateTimeParseException

public class DateTimeParseException extends DateTimeException

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DateTimeParseException(String message, CharSequence parsedData, int errorIndex)`
  `DateTimeParseException(String message, CharSequence parsedData, int errorIndex, Throwable cause)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getErrorIndex()`
  `String`
  `getParsedString()`

  ### Methods inherited from class Throwable

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

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### DateTimeParseException

    public DateTimeParseException(String message, CharSequence parsedData, int errorIndex)

  - ### DateTimeParseException

    public DateTimeParseException(String message, CharSequence parsedData, int errorIndex, Throwable cause)

- ## Method Details

  - ### getParsedString

    public String getParsedString()

  - ### getErrorIndex

    public int getErrorIndex()