Fix exceptions syntax