diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-04-18 20:54:07 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-04-18 20:54:28 +0200 |
commit | 9a707e10bf70619bf1a553b2bc56c989f9725ab2 (patch) | |
tree | 0ee68f51262e344aa3ce08b8e76fd4f7080b077a /3rdparty/php-cloudfiles/cloudfiles_exceptions.php | |
parent | aceda02887eb4a52188f0308c6404cc9f201ce79 (diff) | |
download | nextcloud-server-9a707e10bf70619bf1a553b2bc56c989f9725ab2.tar.gz nextcloud-server-9a707e10bf70619bf1a553b2bc56c989f9725ab2.zip |
add SWIFT (openstack object storage) storage backend
Diffstat (limited to '3rdparty/php-cloudfiles/cloudfiles_exceptions.php')
-rw-r--r-- | 3rdparty/php-cloudfiles/cloudfiles_exceptions.php | 41 |
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: + */ +?> |