RE: Exception modules

2001-05-02 Thread Henrik Tougaard
From: Paul Lindner, on Tuesday, May 01, 2001 3:04 AM: On a related note, does anyone anywhere still use Experimental::Exception? The COPE CORBA module uses Experimental::Exception for it's exception handling. There is an effort underway to change to Error.pm (or something else a bit more

Exception modules

2001-04-30 Thread Matt Sergeant
[1] for my Perl exception package (yes, another one :) which, in its development version, now mostly does the Right Thing for mod_perl. See http://sourceforge.net/projects/perlexception/ for the curious. Since I'm doing the mod_perl exception handling talk at TPC, I feel obligated to ask

Re: Exception modules

2001-04-30 Thread Jeffrey W. Baker
On Mon, 30 Apr 2001, Matt Sergeant wrote: [1] for my Perl exception package (yes, another one :) which, in its development version, now mostly does the Right Thing for mod_perl. See http://sourceforge.net/projects/perlexception/ for the curious. Since I'm doing the mod_perl exception

Re: Exception modules

2001-04-30 Thread Matt Sergeant
On Mon, 30 Apr 2001, Jeffrey W. Baker wrote: On Mon, 30 Apr 2001, Matt Sergeant wrote: [1] for my Perl exception package (yes, another one :) which, in its development version, now mostly does the Right Thing for mod_perl. See http://sourceforge.net/projects/perlexception/ for

Re: Exception modules

2001-04-30 Thread Jeffrey W. Baker
On Mon, 30 Apr 2001, Matt Sergeant wrote: On Mon, 30 Apr 2001, Jeffrey W. Baker wrote: On Mon, 30 Apr 2001, Matt Sergeant wrote: [1] for my Perl exception package (yes, another one :) which, in its development version, now mostly does the Right Thing for mod_perl. See

Re: Exception modules

2001-04-30 Thread Matt Sergeant
On Mon, 30 Apr 2001, Jeffrey W. Baker wrote: Yes precisely. It used to be that you could only die() with a string, but 5.mumble gave us die() with a reference to an object and at that moment the system was complete. The creation of a rational exception object type is left to the discretion

Re: Exception modules

2001-04-30 Thread Pete Jordan
Matt Sergeant [EMAIL PROTECTED] wrote: It doesn't seem any different from Error.pm to me, except in syntax. Maybe you could expand on why/where it is different? OK, yes, it *is* very similar in principle - I would perhaps have been better to have added to Graham's code, but I suffer from

Re: Exception modules

2001-04-30 Thread Jeffrey W. Baker
On Mon, 30 Apr 2001, Matt Sergeant wrote: On Mon, 30 Apr 2001, Jeffrey W. Baker wrote: Yes precisely. It used to be that you could only die() with a string, but 5.mumble gave us die() with a reference to an object and at that moment the system was complete. The creation of a rational

RE: Exception modules

2001-04-30 Thread Steve Coco
Title: RE: Exception modules unsubscribe please- thanks -Original Message- From: Matt Sergeant [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 4:29 PM To: Jeffrey W. Baker Cc: [EMAIL PROTECTED] Subject: Re: Exception modules On Mon, 30 Apr 2001, Jeffrey W. Baker wrote

Re: Exception modules

2001-04-30 Thread Matt Sergeant
On Mon, 30 Apr 2001, Jeffrey W. Baker wrote: I have learned that errors from down in the call stack are very rarely conditionally recoverable. If I call obj-method(), and it throws an exception, there are few situations where the cause of the exception matters at all. In most cases I will

Re: Exception modules

2001-04-30 Thread Gunther Birznieks
At 03:24 PM 4/30/01 -0700, Jeffrey W. Baker wrote: On Mon, 30 Apr 2001, Matt Sergeant wrote: On Mon, 30 Apr 2001, Jeffrey W. Baker wrote: Yes precisely. It used to be that you could only die() with a string, but 5.mumble gave us die() with a reference to an object and at that

Re: Exception modules

2001-04-30 Thread brian moseley
On Mon, 30 Apr 2001, Jeffrey W. Baker wrote: type of exception. Right now I cannot in fact think of any program I have written that branches on the type of exception. Java encourages this with multiple catch in CP Web Mail, the underlying libraries throw typed exceptions so that the

Re: Exception modules

2001-04-30 Thread Paul Lindner
On Mon, Apr 30, 2001 at 05:47:03PM -0700, brian moseley wrote: On Mon, 30 Apr 2001, Jeffrey W. Baker wrote: type of exception. Right now I cannot in fact think of any program I have written that branches on the type of exception. Java encourages this with multiple catch in CP Web

Re: Exception modules

2001-04-30 Thread Perrin Harkins
on 4/30/01 8:47 PM, brian moseley at [EMAIL PROTECTED] wrote: On Mon, 30 Apr 2001, Jeffrey W. Baker wrote: type of exception. Right now I cannot in fact think of any program I have written that branches on the type of exception. Java encourages this with multiple catch in CP Web Mail,

Re: Exception modules

2001-04-30 Thread brian moseley
On Mon, 30 Apr 2001, Perrin Harkins wrote: I've tried that, but last time I went with more general classes of exceptions containing unique error IDs (defined in a constants module) to indicate the exact type. Not as Java-like, but it did save me from creating dozens of classes with no