Stephen Adkins > App-Context > App::Exceptions

Download:
App-Context-0.968.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 13304   Source  

NAME ^

App::Exceptions - Creates all exception classes used in App.

SYNOPSIS ^

  use App::Exceptions;

DESCRIPTION ^

Using this class creates all the exceptions classes used by App (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 App-Context 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.

EXCEPTION CLASSES ^

ACKNOWLEDGEMENTS ^

 * Author: Stephen Adkins <spadkins@gmail.com>
 * Adapted from Dave Rolsky's Alzabo::Exceptions
 * License: This is free software. It is licensed under the same terms as Perl itself.
syntax highlighting: