# 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
  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
  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
  Description
  `class`
  `ZoneRulesException`
  Thrown to indicate a problem with time-zone configuration.