From: dennison@telepath.com (Ted Dennison)
Subject: Re: Ada exceptions. unchecked?
Date: 12 Jun 2002 06:52:06 -0700
Date: 2002-06-12T13:52:06+00:00 [thread overview]
Message-ID: <4519e058.0206120552.145becec@posting.google.com> (raw)
In-Reply-To: 8db3d6c8.0206112300.3965a62b@posting.google.com
nma124@hotmail.com (steve_H) wrote in message news:<8db3d6c8.0206112300.3965a62b@posting.google.com>...
> I have thought that Ada exceptions were unchecked, is this correct?
>
> I saw this below:
>
> http://www.mindview.net/Etc/Discussions/CheckedExceptions
>
> "To clarify a couple of points in your article, Ada does not have any
> form of exception specification, and so does not have a
> checked/unchecked model."
>
> could some Ada expert comment if the above statment is correct or not?
It looks to me like his "checked exceptions" means that the compiler
forces a caller to provide an explicit check for all exceptions listed
in the spec of a routine as being thrown by that routine. If that is
the case (I'm not a Java expert, so I don't know) then Ada indeed does
not have "checked exceptions". There is no language-defined way to
specify what exceptions are raised by a routine in Ada, as there is in
C++ (and Java?).
I would certianly agree that requiring an exception handler for every
possible exception in every single encolsing block around a procedure
call in Ada would be a pain.
--
T.E.D.
Home - mailto:dennison@telepath.com (Yahoo: Ted_Dennison)
Homepage - (temporarily down)
next prev parent reply other threads:[~2002-06-12 13:52 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-12 7:00 Ada exceptions. unchecked? steve_H
2002-06-12 13:52 ` Ted Dennison [this message]
2002-06-12 14:09 ` Larry Kilgallen
2002-06-12 13:47 ` Mark Johnson
2002-06-12 15:40 ` Larry Kilgallen
2002-06-12 16:07 ` Darren New
2002-06-12 22:21 ` Dale Stanbrough
2002-06-13 14:36 ` Hyman Rosen
2002-06-13 16:41 ` Darren New
2002-06-13 17:13 ` Hyman Rosen
2002-06-13 17:48 ` Darren New
2002-06-13 18:06 ` Hyman Rosen
2002-06-13 18:37 ` Darren New
2002-06-13 19:14 ` Hyman Rosen
2002-07-05 14:35 ` Stephen J. Bevan
2002-06-12 19:25 ` Simon Wright
2002-06-12 22:19 ` Gisle Sælensminde
2002-06-13 14:27 ` Mark Johnson
2002-06-14 21:32 ` Gisle Sælensminde
2002-06-14 21:45 ` Darren New
2002-06-15 15:10 ` Simon Wright
2002-06-15 21:26 ` AG
2002-06-15 23:37 ` Darren New
2002-06-15 23:50 ` AG
2002-06-15 23:57 ` Darren New
2002-06-17 18:21 ` Charles Lindsey
2002-06-18 16:32 ` Stephen Leake
2002-06-18 19:48 ` Wes Groleau
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox