I need to catch a generic exception and then categorize is based on a specific type to reduce the no of lines of code as all the exception does the same thing .
Something