Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #6640
| From | markspace <-@.> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: jdk7-relnotes |
| Date | 2011-07-28 12:40 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <j0se0e$ili$1@dont-email.me> (permalink) |
| References | <jdk7-relnotes-20110728190703@ram.dialup.fu-berlin.de> |
On 7/28/2011 10:17 AM, Stefan Ram wrote:
> http://download.oracle.com/javase/7/docs/technotes/guides/language/catch-multiple.html
This I like.
"The following example, which is valid in Java SE 7 and later,
eliminates the duplicated code:
catch (IOException|SQLException ex) {
logger.log(ex);
throw ex;
}"
Back to comp.lang.java.programmer | Previous | Next | Find similar
Re: jdk7-relnotes markspace <-@.> - 2011-07-28 12:40 -0700
csiph-web