# Print output for @column tags ?> DateTimeException - Android SDK | Android Developers

Most visited


Recently visited


DateTimeException

public class DateTimeException
extends RuntimeException

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


Exception used to indicate a problem while calculating a date-time.

This exception is used to indicate problems with creating, querying and manipulating date-time objects.

Summary


Public constructors

DateTimeException(String message)

Constructs a new date-time exception with the specified message.

DateTimeException(String message, Throwable cause)

Constructs a new date-time exception with the specified message and cause.

Inherited methods

Public constructors


DateTimeException

public DateTimeException (String message)

Constructs a new date-time exception with the specified message.

Parameters
message String: 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 String: the message to use for this exception, may be null

cause Throwable: the cause of the exception, may be null

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.