Nothing is justifiable from the start regarding the exception returning your stack to stop the current execution. Of course, no more than you throw an exception and catch it in some lower place in your exception.
I would look at its filtering from the log. If you use ASP.Net health monitoring, you can configure / map each exception to this provider (event log, mail, etc.), to control whether or not an exception notification is received in the streaming channel. If this is custom logging, I'll just add an if to test it.
Note that you cannot have a ThreadAbortException, so even if your logging code does something like catch(Exception e) { // log exception and then do not throw again } , ThreadAbortException will still be thrown by the framework after exiting of your catch block.
Peter Oehlert Dec 13 '08 at 18:37 2008-12-13 18:37
source share