How to show @Transactional hibernate exceptions on UI?

Hi all! Can I somehow show this log message/exception on vaadin 23 UI ?.. It comes up when I press the “save” button on a form layout which calls into the application’s DAO. The called function is annotated with @Transactional(rollbackOn = { Exception.class }) Thank you :slightly_smiling_face:
[ERROR] 2023-07-31 14:39:05.847 [50] DefaultErrorHandler -
org.springframework.dao.DuplicateKeyException: A different object with the same identifier value was already associated with the session : [com.lib.libtools.jengiutil.lexicon.model.Jszotar_string#com.lib.libtools.jengiutil.lexicon.model.Jszotar_stringKey@574b4be7]; nested exception is org.hibernate.NonUniqueObjectException: A different object with the same identifier value was already associated with the session : [com.lib.libtools.jengiutil.lexicon.model.Jszotar_string#com.lib.libtools.jengiutil.lexicon.model.Jszotar_stringKey@574b4be7]