|
You can write code like that:
1)Log, traces, events
2)Notifications from email,pager, and so on.
3)Depends on the exception, you can save the state of the transaction, so when it’s resolved you can recover the information and keep working
This is important: you can't write a println(), or redirect function inside of the code of the exception.
|