
Mac::Apps::Seasonality::LoadICAOHistoryExceptions - Exceptions thrown for various problems when dealing with ICAO history.

This document describes Mac::Apps::Seasonality::LoadICAOHistoryExceptions version 0.0.6.

use Mac::Apps::Seasonality::LoadICAOHistoryExceptions;
eval { ... };
my $exception;
if ($exception = Mac::Apps::Seasonality::InvalidDatumException->caught()) {
... $exception->column_name ...
} # end if

This module contains all the exception classes used to indicate problems with processing ICAO data.

The exception hierarchy.
Mac::Apps::Seasonality::LoadICAOHistoryExceptionBase exception class with no behavior beyond that supplied by Exception::Class.
Mac::Apps::Seasonality::InvalidParameterExceptionA subroutine was invoked with an invalid parameter.
Mac::Apps::Seasonality::ValidationExceptionA problem with input ICAO history data.
Attributes:
input_line_number: The line number that the problematic data was found on.>
Mac::Apps::Seasonality::CSVParseExceptionA problem with a line of text that is supposed to be in CSV format but actually isn't.
Mac::Apps::Seasonality::DataExceptionA problem with the input (post parsing from CSV) that is supposed to represent one data point.
Attributes:
input_data_ref: A reference to an array containing the values for one data point, in the order of the columns in the icao_history database table.
Mac::Apps::Seasonality::InvalidDataSizeExceptionAn array that is supposed to represent one data point has too much or too little data in it.
Attributes:
expected_number_of_elements: How many items were there supposed to be.
actual_number_of_elements: How many items there were.
Mac::Apps::Seasonality::InvalidDatumExceptionAn individual data item is not valid for the aspect of a data point it represents.
Attributes:
column_name: The name of the column in the icao_history database table that the datum is intended for.
column_number: The position the invalid datum is in in the input.
invalid_value: The actual value in question.

This module is nothing but diagnostics.

Mac::Apps::Seasonality::LoadICAOHistoryExceptions requires no configuration files or environment variables.


None reported.

That this module exists at all because data can't be magically be corrected without the assistance of a human being.
Please report any bugs or feature requests to bug-mac-apps-seasonality-loadicaohistory@rt.cpan.org, or through the web interface at http://rt.cpan.org.

Elliot Shank perl@galumph.com

Copyright ©2006-2007, Elliot Shank <perl@galumph.com>. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENSE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.