Víctor Moral > Iterator-BreakOn-0.4 > Iterator::BreakOn::X

Download:
Iterator-BreakOn-0.4.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.2   Source  

NAME ^

Iterator::BreakOn::X - Declare exception classes for Iterator::BreakOn

SYNOPSIS ^

        package Iterator::BreakOn;

    use Iterator::BreakOn::Exceptions;

    do {
        Iterator::BreakOn::X->thrown('unknown error' );
    } if ($fatal_error);

DESCRIPTION ^

This module declare a exception classes hierarchies for use on the Iterator::BreakOn package.

DIAGNOSTICS ^

This is the list of exceptions:

Iterator::BreakOn::X::missing

Raise when a required parameter (i.e. datasource) is missing. Not recoverable.

Iterator::BreakOn::X::datasource

Raise when the next method fails.

Iterator::BreakOn::X::getmethod

Raise when the user supplied get method is not valid.

Iterator::BreakOn::X::invalid_event

Raise when an event object receives a invalid name.

Iterator::BreakOn::X::csvfail

Detected a fatal error in Text::CSV package.

DEPENDENCIES ^

Exception::Class

BUGS AND LIMITATIONS ^

There are no known bugs in this module. Please report problems to the author. Patches are welcome.

AUTHOR ^

Víctor Moral <victor@taquiones.net>

LICENSE AND COPYRIGHT ^

Copyright (C) 2007 <Victor Moral>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

syntax highlighting: