But completely ignored so that the code keeps continuing from where the exception was thrown? I thought it was simply having the catch method empty.. but my code does not seem to be continuing, just doing nothing… but not crashing.
But completely ignored so that the code keeps continuing from where the exception was
Share
Make sure your catch block is close enough to the throwing point that no needed lines get skipped. When you catch an exception the execution resumes after the catch block, it does not jump back up to where the exception was thrown.