Uploaded image for project: 'Ymir'
  1. Ymir
  2. YMIR-304

YSPプロジェクトでEntityAlreadyUpdatedExceptionも入れる

XMLWordPrintable

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor 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」

            Assignee:
            skirnir skirnir
            Reporter:
            jflute jflute
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: