public class UnsupportedTemporalUnitException extends ValuesException
UnsupportedTemporalUnitException is thrown if trying to get or assign a temporal unit
which is not supported for the current temporal type. Examples of such cases include trying to
assign a month to a TimeValue, trying to truncate a DateValue to minutes and
trying to get the timezone of a LocalDateTimeValue.| Constructor and Description |
|---|
UnsupportedTemporalUnitException(String errorMsg) |
UnsupportedTemporalUnitException(String errorMsg,
Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.