Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Error::Hierarchy::Container
container for hierarchical exceptions

Error::Hierarchy::Container - container for hierarchical exceptions


NAME

Error::Hierarchy::Container - container for hierarchical exceptions


SYNOPSIS


  my $container = Error::Hierarchy::Container->new;

  $container->items_set_push($my_exception);

  $container->record('Some::Exception', %exception_args);

  $container->delete_by_uuid($uuid1, $uuid2);


DESCRIPTION

This class implements a container for hierarchical exception objects. It is effectively a the Data::Container manpage but also has the following methods.


METHODS

record
Takes an exception class name (a string) and a hash of arguments. First the exception is constructed with the given arguments, then it is added - using items_set_push() - to the container. It's really a shortcut that saves you from having to record the exception and then adding it to the container yourself.

delete_by_uuid
Takes a list of uuid values and deletes all those exceptions from the container whose uuid appears in the given list.


TAGS

If you talk about this module in blogs, on del.icio.us or anywhere else, please use the errorhierarchy tag.


BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests to bug-error-hierarchy@rt.cpan.org, or 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/>.


AUTHOR

Marcel Grünauer, <marcel@cpan.org>


COPYRIGHT AND LICENSE

Copyright 2007 by Marcel Grünauer

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy