Removed typehinting from handleException

Tried to fix it with \int and \string, but this did not work.