From 1b2e77eaf1ae1718a9fd7c02d27813ee26b40a22 Mon Sep 17 00:00:00 2001 From: Olli-Antti Kivilahti Date: Fri, 21 Aug 2015 11:55:19 +0300 Subject: [PATCH] Bug 13995 - Koha::Exception squashable --- Koha/Exception/Parse.pm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Koha/Exception/Parse.pm diff --git a/Koha/Exception/Parse.pm b/Koha/Exception/Parse.pm new file mode 100644 index 0000000..649c7b5 --- /dev/null +++ b/Koha/Exception/Parse.pm @@ -0,0 +1,28 @@ +package Koha::Exception::Parse; + +# Copyright 2015 Vaara-kirjastot +# +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# Koha is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +use Modern::Perl; + +use Exception::Class ( + 'Koha::Exception::Parse' => { + description => 'Parsing the given input failed', + }, +); + +return 1; \ No newline at end of file -- 1.9.1