| 1 | package DBIx::Changeset::Exception; | ||
| 2 | |||
| 3 | 13 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 13 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 13 | ▶ | use vars qw{$VERSION}; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 13 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 13 | $VERSION = '1.11'; | |
| 9 | } | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | DBIx::Changeset::Exceptions - the Exceptions base | ||
| 14 | |||
| 15 | =head1 EXCEPTIONS | ||
| 16 | |||
| 17 | =cut | ||
| 18 | |||
| 19 | 13 | ▶ | use Exception::Class ( |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 13 | 'DBIx::Changeset::Exception::ObjectCreateException' => { description => 'Object Creation Error' }, | |
| 21 | 'DBIx::Changeset::Exception::ReadRecordException' => { description => 'Could not write from record' }, | ||
| 22 | 'DBIx::Changeset::Exception::WriteRecordException' => { description => 'Could not write to record' }, | ||
| 23 | 'DBIx::Changeset::Exception::DuplicateRecordNameException' => { description => 'Could create record as it already exists', fields => [ 'filename' ] }, | ||
| 24 | 'DBIx::Changeset::Exception::ReadCollectionException' => { description => 'Could not read from collections changeset_location' }, | ||
| 25 | 'DBIx::Changeset::Exception::MissingAddTemplateException' => { description => 'Could not read create_template' }, | ||
| 26 | 'DBIx::Changeset::Exception::LoaderException' => { description => 'Could not load changeset record into database' }, | ||
| 27 | 'DBIx::Changeset::Exception::ReadHistoryRecordException' => { description => 'Could not read from history record' }, | ||
| 28 | 'DBIx::Changeset::Exception::WriteHistoryRecordException' => { description => 'Could not write to history record' }, | ||
| 29 | 13 | ); | |
| 30 | |||
| 31 | =head1 COPYRIGHT & LICENSE | ||
| 32 | |||
| 33 | Copyright 2004-2008 Grox Pty Ltd. | ||
| 34 | |||
| 35 | This program is free software; you can redistribute it and/or modify it | ||
| 36 | under the same terms as Perl itself. | ||
| 37 | |||
| 38 | The full text of the license can be found in the LICENSE file included with this module. | ||
| 39 | |||
| 40 | =cut | ||
| 41 | |||
| 42 | 13 | 1; # End of DBIx::Changeset::Exceptions | |