# Class DateTimeException

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

Direct Known Subclasses:
  `DateTimeParseException`

public class DateTimeException extends RuntimeException

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DateTimeException(String message)`
  `DateTimeException(String message, Throwable cause)`

- ## Method Summary

  ### Methods inherited from class Throwable

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

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### DateTimeException

    public DateTimeException(String message)

  - ### DateTimeException

    public DateTimeException(String message, Throwable cause)