Re: Very simple blessed exceptions

2000-06-18 Thread Andreas J. Koenig
> On Mon, 5 Jun 2000 12:51:09 +0100 (BST), Matt Sergeant <[EMAIL PROTECTED]> said: [...] > Of course you can overload simple exception to your heart's content. The > most important thing it does is makes sure that $@->isa() works by > overloading CORE::die, and dying with a SimpleExceptio

Very simple blessed exceptions

2000-06-05 Thread Matt Sergeant
I'm thinking of uploading a very simple blessed exceptions class that can simply store key/value parameters. I'd probably call it SimpleException.pm. It doesn't try and confuse things with new syntax of try/catch or anything like that - it simply lets you do: eval { die