Bugzilla – Attachment 42109 Details for
Bug 13995
Proper Exception handling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13995 - Koha::Exception squashable
Bug-13995---KohaException-squashable.patch (text/plain), 1.49 KB, created by
Olli-Antti Kivilahti
on 2015-08-31 11:04:01 UTC
(
hide
)
Description:
Bug 13995 - Koha::Exception squashable
Filename:
MIME Type:
Creator:
Olli-Antti Kivilahti
Created:
2015-08-31 11:04:01 UTC
Size:
1.49 KB
patch
obsolete
>From 1b2e77eaf1ae1718a9fd7c02d27813ee26b40a22 Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13995
:
37827
|
38131
|
40074
|
40579
|
40580
|
40581
|
40717
|
41018
|
41118
|
41153
|
41249
|
41529
|
42109
|
42415
|
60963