Commit graph

4 commits

Author SHA1 Message Date
wiz
7d42e6488d Update to 1.22:
1.22 Sep 30, 2005

- Added Exception::Class::Base->caught() so you can write
"My::Error->caught()".  Apparently this is what Damian documented in
Perl Best Practices.  Thanks to JD Hedden for pointing this out.

- Require Devel::StackTrace 1.12 to fix a test failure on Win32.
Reported by Garrett Goebel.


1.21 Apr 17, 2005

- Added Exception::Class->caught() as syntactic sugar for catching
exceptions in a "safe" manner.  See the docs for details.  Suggested
by Damian Conway.
2005-11-23 22:08:36 +00:00
wiz
0266611694 Update to 1.20:
1.20 Jan 1, 2005

- Moved the Classes() method to Exception::Class, now as a function,
which is where it really belongs.  Also corrected the docs for this
function, as they incorrectly implied that it would return all
subclasses, instead of just subclasses which were created when loading
Exception::Class.

- Added a Build.PL file, and releases are now signed with
Module::Signature.

- Added ignore_class and ignore_package constructor parameters.  Patch
by Daisuke Maki.
2005-02-23 16:30:50 +00:00
he
bbd5560895 Update p5-Exception-Class from version 1.14 to 1.19.
Add DEPENDS on p5-Test-Simple, and update p5-Devel-StackTrace dependency.


Change log:

1.19 Mar 10, 2004

- Identical to 1.18 except that it requires Devel::StackTrace 1.10,
which fixes a failure in this package's test when run with Perl 5.6.1.
Reported by Jesse Erlbaum.


1.18 Feb 21, 2004

- Added RespectOverload class method, which can be used to control the
respect_overload parameter for Devel::StackTrace objects.


1.17 Feb 20, 2004

- Document that new() is always called to create an
Exception::Class::Base object.  Suggested by Steve Hay.

- Fix a test that failed with Devel::StackTrace 1.05.  Basically, the
test expected output from Devel::StackTrace that reflected a bug that
was fixed in 1.05.  Reported by Jesse Vincent.


1.16 Sep 25, 2003

- David Wheeler's patch exposed a bug in Devel::StackTrace which could
cause exceptions to not have any value set for package, file, or line.
This is fixed by depending on Devel::StackTrace 1.04.  This release is
otherwise identical to 1.15.  Reported by Steve Hay.


1.15 Sep 17, 2003

- Exceptions thrown from an alias subroutine always had
"Exception::Class" as their package name.  Patch by David Wheeler.
2004-12-05 19:14:18 +00:00
he
dd07d64e09 Import p5-Exception-Class version 1.14.
This module allows you to declare hierarchies of exception classes for
use in your code.  It also provides a simple exception class that it
uses as the default base class for all other exceptions.

You may choose to use another base class for your exceptions.
Regardless, the ability to declare all your exceptions at compile time
is a fairly useful trick and helps push people towards more structured
use of exceptions.
2003-08-30 19:00:01 +00:00