By bloid
via members.capmac.org
Published: Jul 16 2007 / 12:07
![]() | |
| HTML5 Canvas | |
| Written by: Simon Sarris | |
| Featured Refcardz: Top Refcardz: | |
| 150+ Refcardz Available · Get them all | |
By bloid
via members.capmac.org
Published: Jul 16 2007 / 12:07
Comments
Ricky Clarkson replied ago:
I prefer catch (OneException | AnotherException e).
crowlogic replied ago:
thats ridiculous because we are specifying a list of things to catch, not a boolean expression
Ricky Clarkson replied ago:
Well, (IOException,SQLException exception) is a possibility, but I think it's too similar to ordinary parameter lists, so it would be easily confused.
Reusing the | operator with types isn't so easy to confuse with anything that already exists - that's why I suggested that.
hightower replied ago:
I prefer catch too.
Voters For This Link (14)
Voters Against This Link (2)