summaryrefslogtreecommitdiffstats
path: root/3rdparty/php-cloudfiles/cloudfiles_exceptions.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-04-21 23:21:50 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-04-21 23:21:50 +0200
commit0918fc7d9156f3846a19b673db5b01422a59c506 (patch)
tree131188252fd42c4f3c9673975adafa24783c632f /3rdparty/php-cloudfiles/cloudfiles_exceptions.php
parent77cefdedb86de65e69f470c8b6a1b03bb001966e (diff)
parent74e540271122222f650bbbfaeaac310b0e592674 (diff)
downloadnextcloud-server-0918fc7d9156f3846a19b673db5b01422a59c506.tar.gz
nextcloud-server-0918fc7d9156f3846a19b673db5b01422a59c506.zip
fix merge conflicts
Diffstat (limited to '3rdparty/php-cloudfiles/cloudfiles_exceptions.php')
-rw-r--r--3rdparty/php-cloudfiles/cloudfiles_exceptions.php41
1 files changed, 41 insertions, 0 deletions
diff --git a/3rdparty/php-cloudfiles/cloudfiles_exceptions.php b/3rdparty/php-cloudfiles/cloudfiles_exceptions.php
new file mode 100644
index 00000000000..5624d6b8634
--- /dev/null
+++ b/3rdparty/php-cloudfiles/cloudfiles_exceptions.php
@@ -0,0 +1,41 @@
+<?php
+/**
+ * Custom Exceptions for the CloudFiles API
+ *
+ * Requres PHP 5.x (for Exceptions and OO syntax)
+ *
+ * See COPYING for license information.
+ *
+ * @author Eric "EJ" Johnson <ej@racklabs.com>
+ * @copyright Copyright (c) 2008, Rackspace US, Inc.
+ * @package php-cloudfiles-exceptions
+ */
+
+/**
+ * Custom Exceptions for the CloudFiles API
+ * @package php-cloudfiles-exceptions
+ */
+class SyntaxException extends Exception { }
+class AuthenticationException extends Exception { }
+class InvalidResponseException extends Exception { }
+class NonEmptyContainerException extends Exception { }
+class NoSuchObjectException extends Exception { }
+class NoSuchContainerException extends Exception { }
+class NoSuchAccountException extends Exception { }
+class MisMatchedChecksumException extends Exception { }
+class IOException extends Exception { }
+class CDNNotEnabledException extends Exception { }
+class BadContentTypeException extends Exception { }
+class InvalidUTF8Exception extends Exception { }
+class ConnectionNotOpenException extends Exception { }
+
+/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * c-hanging-comment-ender-p: nil
+ * End:
+ */
+?>