Class UnsupportedTemporalTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.time.DateTimeException
java.time.temporal.UnsupportedTemporalTypeException
Thrown when a date or time is asked for a unit it does not have.
-
Constructor Summary
ConstructorsConstructorDescriptionUnsupportedTemporalTypeException(String message) An exception withmessage.UnsupportedTemporalTypeException(String message, Throwable cause) An exception withmessage, caused bycause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsupportedTemporalTypeException
An exception withmessage. -
UnsupportedTemporalTypeException
-