I have EJB class, custom exception and web back end bean classes, i want to catch the custom exception in the web if the EJB pass the exception, but the EJBException catch the exception as System Exception??
EJB5184:A system exception occurred during an invocation on EJB
posted 1 year ago
The issue is after i cover the main Exception with the custom Exception, there are system exception happen, so the custom Exception doesn't pass, only the system exception is pass