Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Robert Klemme Newsgroups: comp.lang.java.programmer Subject: Re: can't throw Date: Fri, 14 Sep 2012 20:50:38 +0200 Lines: 21 Message-ID: References: <19af6b94-7a1e-4491-afb2-79782406f560@googlegroups.com> <504fe3a6$0$293$14726298@news.sunsite.dk> <50510bbc$0$281$14726298@news.sunsite.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net I6deDyCbN73X1KStwbkxZgminawx+knofG0Lxab/52erbSR0bRMj3M7u7QrQuvXiA= Cancel-Lock: sha1:JodNxP0CWt3T8NnCkqKyPM917aU= User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 In-Reply-To: Xref: csiph.com comp.lang.java.programmer:18769 On 14.09.2012 18:49, Gene Wirchenko wrote: > It may not be nearly as elegant, but I still prefer BASIC's ON > ERROR GOTO handling. Yes, one had to sort through the error numbers, > but that made it easier in some ways. One could code something to > handle the few cases where there was a specific handling and then use > a catch-all for the rest. Well, you can do _that_ in Java, too. I find the distinction between checked and unchecked exceptions pretty good - although the distribution of exception types across these categories does not always seem to be wisely made in the standard library. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/