0
 Followers
3
 Likes

Re-Raising an Exception

Backend
New

In an exception handler, it should be possible to re-raise the original exception if it could not be appropriately handled using the same Exception type for processing further down the line.

Currently we have access to the ExceptionMessage but NOT the Exception (type) meaning that if we re-raise the exception we have to choose a type (which we typically don't know).  I end up having to create an "UnknownException" type even though the original may have been a standard type so it may not be appropriately caught later down the chain.

Created on 29 Jun
Comments (1)

Changed the category to Backend


views
72
Followers
0