comp.lang.ada
 help / color / mirror / Atom feed
From: Darren New <dnew@san.rr.com>
Subject: Re: Questions on implementations and specs
Date: Fri, 12 Oct 2001 16:43:58 GMT
Date: 2001-10-12T16:43:58+00:00	[thread overview]
Message-ID: <3BC71DBE.F2500FEA@san.rr.com> (raw)
In-Reply-To: gwBx7.2411$oE5.326974@news2-win.server.ntlworld.com

> but I think the Java 'must specify exceptions' is a pain mostly (even though
> it helps with documenting exceptions).

It's mostly a pain when you're dealing with callbacks, tho. If your
comparison routine might throw an error, and your sort routine doesn't
declare the comparison routine as capable of throwing an error, you're
pretty screwed.

Of course, you can throw a run-time exception, but that kind of defeats
the purpose of declaring such things.

-- 
Darren New 
San Diego, CA, USA (PST). Cryptokeys on demand.
                   Who is this Dr. Ibid anyway, 
                  and how does he know so much?



  reply	other threads:[~2001-10-12 16:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-11 17:03 Questions on implementations and specs chris.danx
2001-10-11 18:31 ` chris.danx
2001-10-11 22:39   ` chris.danx
2001-10-12 10:31 ` Aidan Skinner
2001-10-12 12:39   ` chris.danx
2001-10-12 16:43     ` Darren New [this message]
2001-10-14 13:41       ` Marc A. Criley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox