changed data type of exception_type