Man pages sections > man3 > Aspect::Pointcut::Throwing

Aspect::Pointcut::Throwing - Exception typing pointcut

Aspect::Pointcut::Throwing(3pm) User Contributed Perl Documentation Aspect::Pointcut::Throwing(3pm)


Aspect::Pointcut::Throwing - Exception typing pointcut
  use Aspect;
  # Catch a Foo::Exception object exception
  after {
  } throwing 'Foo::Exception';


The Aspect::Pointcut::Throwing pointcut is used to match situations in which an after() advice block wishes to intercept the throwing of a specific exception string or object.


Adam Kennedy <>
Marcel Gruenauer <>
Ran Eilam <> Copyright 2001 by Marcel Gruenauer
Some parts copyright 2009 - 2013 Adam Kennedy.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2013-04-09 perl v5.14.2