Skip to content

Problem with malformed try-recover statement

If you do this:

''' try { // ... } recover (Exception e) { // ... } '''

there is a malformed statement exception that does not make sense (e.g. line number is greater than the number of lines in the code).