APIdia Launch Partner
Top Description Fields Constructors
java.time.temporal

public Class UnsupportedTemporalTypeException

extends DateTimeException
Class Inheritance
Imports
java.time.DateTimeException

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

Implementation Specification

This class is intended for use in a single thread.

Since
1.8

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
UnsupportedTemporalTypeException(String
the message to use for this exception, may be null
message
)

Constructs a new UnsupportedTemporalTypeException with the specified message.

public
UnsupportedTemporalTypeException(String
the message to use for this exception, may be null
message
,
Throwable
the cause of the exception, may be null
cause
)

Constructs a new UnsupportedTemporalTypeException with the specified message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.time.DateTimeException.serialVersionUID.

Serialization version.

Annotations
@Serial

Constructor Detail

UnsupportedTemporalTypeExceptionback to summary
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

UnsupportedTemporalTypeExceptionback to summary
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