| Date-Holidays documentation | Contained in the Date-Holidays distribution. |
Date::Holidays::Exception::NoCountrySpecified - a Date::Holidays exception class
This POD describes version 0.01 of Date::Holidays::Exception::NoCountrySpecified
use Date::Holidays::Exception::NoCountrySpecified;
try {
#Load adapter
throw Date::Holidays::Exception::NoCountrySpecified('No country specified');
} ...
...
catch Date::Holidays::Exception::NoCountrySpecified with {
my $E = shift;
print STDERR $E->{-text}; #No country specified
} ...
This is an exception for use in Date::Holidays and related modules.
Takes a text string
Inherited from Date::Holidays::Exception::AdapterLoad
This is a diagnostic class.
Please refer to INCOMPATIBILITIES in Date::Holidays
Please refer to BUGS AND LIMITATIONS in Date::Holidays
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
Jonas B. Nielsen, (jonasbn) - <jonasbn@cpan.org>
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).
| Date-Holidays documentation | Contained in the Date-Holidays distribution. |
package Date::Holidays::Exception::NoCountrySpecified; # $Id: NoCountrySpecified.pm 1742 2007-02-22 19:47:55Z jonasbn $ use strict; use warnings; use vars qw($VERSION); use base 'Date::Holidays::Exception::AdapterLoad'; use overload ('""' => 'stringify'); $VERSION = '0.01'; 1; __END__