groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edinson E. PadrĂ³n Urdaneta <edinson.padron.urdan...@gmail.com>
Subject Is it possible to implement in the language an `else` block in exception handling?
Date Mon, 28 Sep 2015 03:20:48 GMT
This way we could write the following list of 'constructs':

- try-catch-else-finally
- try-catch-else
- try-else-finally
- try-else (I'm not so sure about this one, it could be in conflict with
java(?))

This will improves the readability of exception handling in some
situations. What do you guys think about it?

Thanks in advance for your time.
Cheers.

Mime
View raw message