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

    How to distinguish EntityExistsException

      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?


      Thanks!
      Robert