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
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
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 |