Hi Andreas, you can write and register an ExceptionRecognizer service, see [1]
Be aware that this is being extended in 1.8.0-SNAPSHOT, so if you are running on 1.7.0, then you'll need to implement just ExceptionRecognizer, not ExceptionRecognizer2. HTH Dan [1] https://isis.apache.org/reference/services/exception-recognizers.html On 5 November 2014 10:57, Lechner Andreas <[email protected]> wrote: > Hi, > > in todo app i was getting following error after trying to delete a > depency, which has > a reference to a TodoItem. > > Unable to save changes. Does similar data already exist, or has referenced > data been deleted? > integrity constraint violation: foreign key no action; > ToDoItemDependencies_FK2 table: ToDoItemDependencies > > How can i catch this, and transform it to a message on my own, and display > it > for example on the top of the page? Without getting an empty Result page. > > Best Regards > Andreas >
