Bug 16371: Add needed Koha::Exception
[koha-ffzg.git] / Koha / Exceptions.pm
index 72a56cc..c811b97 100644 (file)
@@ -26,6 +26,10 @@ use Exception::Class (
         isa => 'Koha::Exceptions::Exception',
         description => 'A required parameter is missing'
     },
+    'Koha::Exceptions::ParameterTooHigh' => {
+        isa => 'Koha::Exceptions::Exception',
+        description => 'A passed parameter value is too high'
+    },
     'Koha::Exceptions::NoChanges' => {
         isa => 'Koha::Exceptions::Exception',
         description => 'No changes were made',
@@ -46,6 +50,10 @@ use Exception::Class (
         isa => 'Koha::Exceptions::Exception',
         description => 'Koha is under maintenance.'
     },
+    'Koha::Exceptions::UnknownProgramState' => {
+        isa => 'Koha::Exceptions::Exception',
+        description => 'The running program has done something terribly unpredicatable',
+    },
     # Virtualshelves exceptions
     'Koha::Exceptions::Virtualshelves::DuplicateObject' => {
         isa => 'Koha::Exceptions::DuplicateObject',