Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #6640
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | markspace <-@.> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: jdk7-relnotes |
| Date | Thu, 28 Jul 2011 12:40:59 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 14 |
| Message-ID | <j0se0e$ili$1@dont-email.me> (permalink) |
| References | <jdk7-relnotes-20110728190703@ram.dialup.fu-berlin.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Thu, 28 Jul 2011 19:41:02 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="XjIWM99mD7Ijfdu600oVPA"; logging-data="19122"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18vm6pV57qGJ48TNkcYkL+cVPVUtLce8dA=" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 |
| In-Reply-To | <jdk7-relnotes-20110728190703@ram.dialup.fu-berlin.de> |
| Cancel-Lock | sha1:wtLvdNNJaVHrREnz0GKn1cYGaiw= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6640 |
Show key headers only | View raw
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