|
Lines 17-36
package Koha::Exceptions::XSLT;
Link Here
|
| 17 |
# You should have received a copy of the GNU General Public License |
17 |
# You should have received a copy of the GNU General Public License |
| 18 |
# along with Koha; if not, see <http://www.gnu.org/licenses>. |
18 |
# along with Koha; if not, see <http://www.gnu.org/licenses>. |
| 19 |
|
19 |
|
| 20 |
=head1 NAME |
|
|
| 21 |
|
| 22 |
Koha::Exceptions::XSLT; |
| 23 |
|
| 24 |
=head1 SYNOPSIS |
| 25 |
|
| 26 |
Koha::Exceptions::XSLT::MissingFilename->throw; |
| 27 |
|
| 28 |
=head1 DESCRIPTION |
| 29 |
|
| 30 |
Defines a few exceptions for Koha::XSLT:: modules |
| 31 |
|
| 32 |
=cut |
| 33 |
|
| 34 |
use Modern::Perl; |
20 |
use Modern::Perl; |
| 35 |
use Koha::Exception; |
21 |
use Koha::Exception; |
| 36 |
use Exception::Class ( |
22 |
use Exception::Class ( |
|
Lines 47-50
use Exception::Class (
Link Here
|
| 47 |
}, |
33 |
}, |
| 48 |
); |
34 |
); |
| 49 |
|
35 |
|
|
|
36 |
=head1 NAME |
| 37 |
|
| 38 |
Koha::Exceptions::XSLT - Base class for XSLT exceptions |
| 39 |
|
| 40 |
=head1 DESCRIPTION |
| 41 |
|
| 42 |
Defines a few exceptions for Koha::XSLT:: modules |
| 43 |
|
| 44 |
=head1 Exceptions |
| 45 |
|
| 46 |
=head2 Koha::Exceptions::XSLT |
| 47 |
|
| 48 |
Generic XSLT exception. |
| 49 |
|
| 50 |
=head2 Koha::Exceptions::XSLT::MissingFilename |
| 51 |
|
| 52 |
Missing filename exception. |
| 53 |
|
| 54 |
=head2 Koha::Exceptions::XSLT::FetchFailed |
| 55 |
|
| 56 |
Failed to fetch the XSLT. |
| 57 |
|
| 58 |
=cut |
| 59 |
|
| 50 |
1; |
60 |
1; |
| 51 |
- |
|
|