NAME
Aspect::Pointcut::Throwing - Exception typing pointcut
use Aspect;
# Catch Foo exceptions and return true instead
after { $_[0]->return_value(1) } throwing 'Foo::Exception';
DESCRIPTION
The Aspect::Pointcut::Throwing pointcut is used to match situations in which an after() or after_throwing() advice returns a specific exception string or object.
BUGS AND LIMITATIONS
No bugs have been reported.
Please report any bugs or feature requests through the web interface at http://rt.cpan.org.
INSTALLATION
See perlmodinstall for information and options on installing Perl modules.
AVAILABILITY
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit <http://www.perl.com/CPAN/> to find a CPAN site near you. Or see <http://www.perl.com/CPAN/authors/id/M/MA/MARCEL/>.
AUTHORS
Adam Kennedy <adamk@cpan.org>
Marcel Grünauer <marcel@cpan.org>
Ran Eilam <eilara@cpan.org>
SEE ALSO
You can find AOP examples in the examples/
directory of the distribution.
COPYRIGHT AND LICENSE
Copyright 2001 by Marcel Grünauer
Some parts copyright 2009 - 2010 Adam Kennedy.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.