A Module That Allows You to Declare Real Exception Classes in Perl
Exception::Class allows you to declare exception hierarchies in your modules in
a "Java-esque" manner.
It features a simple interface allowing programmers to 'declare' exception
classes at compile time. It also has a base exception class,
Exception::Class::Base, that can be easily extended.
It is designed to make structured exception handling simpler and better by
encouraging people to use hierarchies of exceptions in their applications,
as opposed to a single catch-all exception class.
This module does not implement any try/catch syntax. Please see the
"OTHER EXCEPTION MODULES (try/catch syntax)" section for more information on
how to get this syntax.
You will also want to look at the documentation for Exception::Class::Base,
which is the default base class for all exception objects created
by this module.
Author: Dave Rolsky
- Developed at devel:languages:perl
- Sources inherited from project openSUSE:Factory
-
4
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP4:FactoryCandidates/perl-Exception-Class && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
Exception-Class-1.32.tar.gz | 0000023702 23.1 KB | |
perl-Exception-Class.changes | 0000003050 2.98 KB | |
perl-Exception-Class.spec | 0000002933 2.86 KB |
Revision 5 (latest revision is 18)
- update to 1.32 - Removed Test::Most dependency, which was causing a circular dependency chain. Reported by Burak Gursoy. RT #58889. - Made it possible to use Exception::Class::Base without loading Exception::Class. Reported by Alex Peters. RT #57269. - Added the ability to create light weight exceptions, which don't record a stack trace or any other context info (time, pid, etc.). This is done by setting $class->NoContextInfo to a true value for the exception class. Based on a patch by Graham Barr. RT #54826. - use original .tar.gz
Comments 0