exceptionhandler, add type checking

changelog