Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah. Ironically the JLS includes a complete specification of what the type E1|E2 is, because if you write a catch block that catches both then that's the type of what you catch, there's just no syntax for it.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: