Uses of Class java.time.DateTimeException (Java Platform SE 8 )
Date: 2026-08-19

## Uses of Class
java.time.DateTimeException

- Packages that use DateTimeException
  Package | Description
  --- | ---
  java.time.format | Provides classes to print and parse dates and times.
  java.time.temporal | Access to date and time using fields and units, and date time adjusters.
  java.time.zone | Support for time-zones and their rules.

- - ### Uses of DateTimeException in java.time.format

    Subclasses of DateTimeException in java.time.format
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DateTimeParseException` An exception thrown when an error occurs during parsing.

  - ### Uses of DateTimeException in java.time.temporal

    Subclasses of DateTimeException in java.time.temporal
    Modifier and Type | Class and Description
    --- | ---
    `class` | `UnsupportedTemporalTypeException` UnsupportedTemporalTypeException indicates that a ChronoField or ChronoUnit is not supported for a Temporal class.

  - ### Uses of DateTimeException in java.time.zone

    Subclasses of DateTimeException in java.time.zone
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ZoneRulesException` Thrown to indicate a problem with time-zone configuration.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.