|
P5EEx-Blue-0.01 | |||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
![]() |
P5EEx::Blue::Exceptions |
P5EEx::Blue::Exceptions - Creates all exception classes used in P5EEx::Blue.
use P5EEx::Blue::Exception;
Using this class creates all the exceptions classes used by P5EEx::Blue (via the Exception::Class class). Stacktrace generation is turned on for all the exception classes.
See Exception::Class on CPAN for more information on how this is done.
Note that there is really only one general exception class defined for each P5EE Service. Within each Service, there may be a separate exception hierarchy which is more fine-grained. However, each service is responsible to (1) handle these exceptions, (2) handle these exceptions and rethrow the general exception defined for the service, or (3) derive all of the exceptions from the general exception.
$@->isa('P5EEx::Blue::Exception')
except those that are generated via internal Perl errors).
* Author: Stephen Adkins <stephen.adkins@officevision.com> * Adapted from Dave Rolsky's Alzabo::Exceptions * License: This is free software. It is licensed under the same terms as Perl itself.