Added in API level 26

UnsupportedTemporalTypeException

open class UnsupportedTemporalTypeException : DateTimeException
kotlin.Any
   ↳ kotlin.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

Constructs a new UnsupportedTemporalTypeException with the specified message.

Constructs a new UnsupportedTemporalTypeException with the specified message and cause.

Public constructors

UnsupportedTemporalTypeException

Added in API level 26
UnsupportedTemporalTypeException(message: String!)

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
UnsupportedTemporalTypeException(
    message: String!,
    cause: Throwable!)

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