Class DateNotSelectableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.leandev.appfuse.exception.ApplicationException
io.leandev.appfuse.exception.InvalidDataException
io.leandev.appfuse.calendar.DateNotSelectableException
- All Implemented Interfaces:
Serializable
日期不可選異常
BusinessCalendar.validate(java.time.LocalDate) 對不可選日期丟出;繼承
InvalidDataException,由框架標準錯誤處理映射為 400(RFC 7807,含 i18n
format/params:${0} = 日期、${1} = reasonCode)。
- Since:
- 4.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ApplicationException
getMessage, toStringMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
DateNotSelectableException
建立異常- Parameters:
status- 不可選的日期狀態(含 reasonCode 與說明)
-
-
Method Details
-
getStatus
-