diff options
author | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2017-03-15 00:30:50 +0100 |
---|---|---|
committer | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2017-03-15 00:30:50 +0100 |
commit | fbef3faf15c9396f215d0ad629247bb4153a416b (patch) | |
tree | 4168c9c29d46c43aaabf2e907e0fba0e78c50bf4 | |
parent | 3dcc6e4a59ff979c60950a4849ea1ae28a42395d (diff) | |
download | ecs-fbef3faf15c9396f215d0ad629247bb4153a416b.tar.gz ecs-fbef3faf15c9396f215d0ad629247bb4153a416b.zip |
Initial exceptions.rb
-rw-r--r-- | lib/exceptions.rb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/exceptions.rb b/lib/exceptions.rb new file mode 100644 index 0000000..189ede5 --- /dev/null +++ b/lib/exceptions.rb @@ -0,0 +1,29 @@ +# Copyright (C) 2007, 2008, 2009, 2010 Heiko Bernloehr (FreeIT.de). +# +# This file is part of ECS. +# +# ECS is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# ECS 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 +# Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public +# License along with ECS. If not, see <http://www.gnu.org/licenses/>. + + +module Ecs + class DestroyQueueException < StandardError; end + class AuthenticationException < StandardError; end + class AuthorizationException < StandardError; end + class InvalidMessageException < StandardError; end + class InvalidRessourceUriException < StandardError; end + class InvalidMimetypeException < StandardError; end + class OuttimedAuthsException < StandardError; end + class MissingReceiverHeaderException < StandardError; end + class NoReceiverOfMessageException < StandardError; end +end |