comp.lang.ada
 help / color / mirror / Atom feed
From: "AG" <a_n_g@x_t_r_a.c_o.n_z>
Subject: Re: Ada exceptions. unchecked?
Date: Sun, 16 Jun 2002 11:50:17 +1200
Date: 2002-06-16T11:50:17+12:00	[thread overview]
Message-ID: <AnQO8.4648$iR2.422056@news.xtra.co.nz> (raw)
In-Reply-To: 3D0BCFC5.A7B2D4C0@san.rr.com


"Darren New" <dnew@san.rr.com> wrote in message
news:3D0BCFC5.A7B2D4C0@san.rr.com...
> AG wrote:
> > It may not be possible but it would be a good idea if it could be done.
> > After all, if an exception (or, more generally, any result of execution)
> > does not make sense to the caller, what's the point of sending it back?
>
> Because it makes sense to whoever called the caller.

But in that case the caller is just an intermediary which doesn't really
know
or care of what to do with the result (if any) or how to handle the
exceptions.
I guess I meant the "caller" that is the real user of the result, not just
some
pass-through function.

>
> If A calls B, and B calls C, and C throws an except that B doesn't
> understand how to handle (or that didn't even exist when B was compiled)
but
> A does, then A nevertheless cannot conveniently get the exception back in
> Java.

Point taken, but that's just Java problem, isn't it?






  reply	other threads:[~2002-06-15 23:50 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
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 [this message]
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