Tornado
Tornado copied to clipboard
Exception handling
Currently, any exception thrown by an adapter is propagated to upper context outside of Tornado. It means that if you intend to catch a particular exception, it may be broken as soon as you change the used adapter.
Proposal:
- Catch underlying exceptions and translate them in "Tornado exceptions" (to be created)
- Use
@throws
annotation to document this behavior and improve developer experience with IDE