I asked a similar question before and it does not appear its possible to catch this error:
Here is my code: