I am using pipes between exception. i.e
catch(InterruptedException|SQLException e)
Its showing compile time error and on mouse over it shows InterruptedException.SQLException cannot be resolved to a type while on Java build path, I have added JRE7 as Java System Library and Java Compiler JDK Compliance is set to 1.7.
I am using Eclipse Java EE IDE for Web Developers.
Version: Helios Service Release 2 Build id: 20110218-0911
Can any one explain what would be the exact cause or what else I am missing.