jonasbn > Date-Holidays-0.15 > Date::Holidays::Exception::AdapterInitialization

Download:
Date-Holidays-0.15.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.01   Source   Latest Release: Date-Holidays-0.22

NAME ^

Date::Holidays::Exception::AdapterInitialization - an adapter exception class

VERSION ^

This POD describes version 0.01 of Date::Holidays::Exception::AdapterInitialization

SYNOPSIS ^

    use Date::Holidays::Exception::AdapterInitialization;
    
    try {
        #Initialize adapter
        
        throw Date::Holidays::Exception::AdapterInitialization('Unable to initialize adapter');
    }
    catch Date::Holidays::Exception::AdapterLoad with {
        my $E = shift;
        
        throw Date::Holidays::Exception::AdapterInitialization($E->{-text}); 
    } ...    
    
    ...
    
    catch Date::Holidays::Exception::AdapterInitialization with {
        my $E = shift;
        
        print STDERR $E->{-text}; #Unable to initialize adapter
    } ...

DESCRIPTION ^

This is an exception for use in Date::Holidays and related modules.

SUBROUTINES/METHODS ^

new

Takes a text string

Inherited from Date::Holidays::Exception::AdapterLoad

DIAGNOSTICS ^

This is a diagnostic class.

DEPENDENCIES ^

INCOMPATIBILITIES ^

Please refer to INCOMPATIBILITIES in Date::Holidays

BUGS AND LIMITATIONS ^

Please refer to BUGS AND LIMITATIONS in Date::Holidays

BUG REPORTING ^

Please report issues via CPAN RT:

  http://rt.cpan.org/NoAuth/Bugs.html?Dist=Date-Holidays

or by sending mail to

  bug-Date-Holidays@rt.cpan.org

AUTHOR ^

Jonas B. Nielsen, (jonasbn) - <jonasbn@cpan.org>

LICENSE AND COPYRIGHT ^

Date::Holidays and related modules are (C) by Jonas B. Nielsen, (jonasbn) 2004-2007

Date::Holidays and related modules are released under the artistic license

The distribution is licensed under the Artistic License, as specified by the Artistic file in the standard perl distribution (http://www.perl.com/language/misc/Artistic.html).

syntax highlighting: