Module java.base
Package java.time

Class DateTimeException

    • Constructor Detail

      • DateTimeException

        public DateTimeException​(String message)
        Constructs a new date-time exception with the specified message.
        Parameters:
        message - the message to use for this exception, may be null
      • DateTimeException

        public DateTimeException​(String message,
                                 Throwable cause)
        Constructs a new date-time exception with the specified message and cause.
        Parameters:
        message - the message to use for this exception, may be null
        cause - the cause of the exception, may be null