-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor
-
None
-
Affects Version/s: 1.0.0
-
Component/s: Vili
-
None
【概要】
EntityAlreadyDeletedExceptionと
EntityAlreadyExistsExceptionが既に入っているので、
EntityAlreadyUpdatedExceptionも入っていたほうが良い。
例外の役割をおさらいすると:
o EntityAlreadyDeletedException : すれ違いで他の人が削除してしまった場合
o EntityAlreadyExistsException : ないとおもったら既にレコードが存在する場合
o EntityAlreadyUpdatedException : すれ違いで他の人が更新してしまった場合
という感じです。
【追加】
上書き前提のEntityAlreadyUpdatedExceptionクラス
EntityAlreadyUpdatedExceptionのExceptionHandlerクラス
message.xpropertiesの「error.entityAlreadyUpdated」