display type of exceptions