2.5-ExceptionRenderer support optional view class for rendering

This is a proposal for when use  a custom View class for rendering.
if adding some function in custom view class and use this functions in layouts or view of errors, The rendering will not cause problems