Click here to Skip to main content
15,887,485 members

Comments by chrisgl84 (Top 1 by date)

chrisgl84 8-Feb-12 15:34pm View    
Deleted
The Idea is correct and it is a usefull. But as mentioned by Dean Oliver it could be cleaner.
I think for this tip it is as clean as it gets. You could introduce functions for the different Parts (RenderUpdateException, Render StackTrace, etc.). This would make the function easier to read.
But I think a big Advantage would be to make the thing independent.

So the function to render a Exception and all the inner Exceptions is a concept, that is usefull in all Areas. And with "plugins" for different Exceptions you could introduce Renders for FileNotFoundException, ArgumentException, etc.
But that is near to an ExceptionHandlerLibrary.

So let's hear your Ideas...