cloudfiles_exceptions.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /**
  3. * Custom Exceptions for the CloudFiles API
  4. *
  5. * Requres PHP 5.x (for Exceptions and OO syntax)
  6. *
  7. * See COPYING for license information.
  8. *
  9. * @author Eric "EJ" Johnson <ej@racklabs.com>
  10. * @copyright Copyright (c) 2008, Rackspace US, Inc.
  11. * @package php-cloudfiles-exceptions
  12. */
  13. /**
  14. * Custom Exceptions for the CloudFiles API
  15. * @package php-cloudfiles-exceptions
  16. */
  17. class SyntaxException extends Exception { }
  18. class AuthenticationException extends Exception { }
  19. class InvalidResponseException extends Exception { }
  20. class NonEmptyContainerException extends Exception { }
  21. class NoSuchObjectException extends Exception { }
  22. class NoSuchContainerException extends Exception { }
  23. class NoSuchAccountException extends Exception { }
  24. class MisMatchedChecksumException extends Exception { }
  25. class IOException extends Exception { }
  26. class CDNNotEnabledException extends Exception { }
  27. class BadContentTypeException extends Exception { }
  28. class InvalidUTF8Exception extends Exception { }
  29. class ConnectionNotOpenException extends Exception { }
  30. /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
  31. /*
  32. * Local variables:
  33. * tab-width: 4
  34. * c-basic-offset: 4
  35. * c-hanging-comment-ender-p: nil
  36. * End:
  37. */
  38. ?>