65 lines
1.1 KiB
PHP
65 lines
1.1 KiB
PHP
<?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.
|
|
*/
|
|
|
|
/**
|
|
* Custom Exceptions for the CloudFiles API.
|
|
*/
|
|
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:
|
|
*/;
|