Client-level Exception not accessible within Entity listener (using Cuba platform v7.2.6)

Where exactly do I place my Client-level Exception so that my Entity Listener can use it ?

I have tried placing it all over Web module section but my listener is not able to import the Exception class because it is not seeing it

What am I doing wrong ?

(using Cuba platform v7.2.6)

I figured out what was wrong.

Incorrectly, I was placing both my Client-Level Exception and its handler in the web module section.

It now works when I place my Client-Level Exception in global module section and its handler in the web module section.

1 Like