lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 26

UnsupportedTemporalTypeException

public class UnsupportedTemporalTypeException
extends DateTimeException

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


UnsupportedTemporalTypeException indicates that a ChronoField or ChronoUnit is not supported for a Temporal class.

Summary

Public constructors

UnsupportedTemporalTypeException(String message)

Constructs a new UnsupportedTemporalTypeException with the specified message.

UnsupportedTemporalTypeException(String message, Throwable cause)

Constructs a new UnsupportedTemporalTypeException with the specified message and cause.

Inherited methods

Public constructors

UnsupportedTemporalTypeException

added in API level 26
public UnsupportedTemporalTypeException (String message)

Constructs a new UnsupportedTemporalTypeException with the specified message.

Parameters
message String: the message to use for this exception, may be null

UnsupportedTemporalTypeException

added in API level 26
public UnsupportedTemporalTypeException (String message, 
                Throwable cause)

Constructs a new UnsupportedTemporalTypeException 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