# Class DateTimeParseException

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

public class DateTimeParseException extends RuntimeException

- ## Constructor Summary

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

- ## 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)

- ## Method Details

  - ### getParsedString

    public String getParsedString()

  - ### getErrorIndex

    public int getErrorIndex()