0 Replies Latest reply on Feb 24, 2009 11:39 PM by Robert Grampp

    How to distinguish EntityExistsException

    Robert Grampp Newbie

      In pages.xml EntityExistsException is predefined with an error message
      'Duplicate record'.

      But this exception can also be thrown if I try to delete a referenced entity of a ManyToOne relationship (the One side, typically a record of a lookup table).

      So, how could I distinguish what caused the EntityExistsException in order to give an understandable error message?