In the service level, no try/catch is used. It means all exceptions are caught in the controller level. In some applications, I have seen even even controller does not catch exceptions. The error is logged by an automatic process and a customized error is returned to user.
Discuss which one is better, what are the solutions for this automatic process and implement it.
In the service level, no try/catch is used. It means all exceptions are caught in the controller level. In some applications, I have seen even even controller does not catch exceptions. The error is logged by an automatic process and a customized error is returned to user.
Discuss which one is better, what are the solutions for this automatic process and implement it.