Index: third_party/gsutil/third_party/boto/boto/cloudsearch2/exceptions.py |
diff --git a/third_party/gsutil/third_party/boto/boto/cloudsearch2/exceptions.py b/third_party/gsutil/third_party/boto/boto/cloudsearch2/exceptions.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c11411396343f06810b7f95ea365d336cf51ae9d |
--- /dev/null |
+++ b/third_party/gsutil/third_party/boto/boto/cloudsearch2/exceptions.py |
@@ -0,0 +1,46 @@ |
+""" |
+Exceptions that are specific to the cloudsearch2 module. |
+""" |
+from boto.exception import BotoServerError |
+ |
+ |
+class InvalidTypeException(BotoServerError): |
+ """ |
+ Raised when an invalid record type is passed to CloudSearch. |
+ """ |
+ pass |
+ |
+ |
+class LimitExceededException(BotoServerError): |
+ """ |
+ Raised when a limit has been exceeded. |
+ """ |
+ pass |
+ |
+ |
+class InternalException(BotoServerError): |
+ """ |
+ A generic server-side error. |
+ """ |
+ pass |
+ |
+ |
+class DisabledOperationException(BotoServerError): |
+ """ |
+ Raised when an operation has been disabled. |
+ """ |
+ pass |
+ |
+ |
+class ResourceNotFoundException(BotoServerError): |
+ """ |
+ Raised when a requested resource does not exist. |
+ """ |
+ pass |
+ |
+ |
+class BaseException(BotoServerError): |
+ """ |
+ A generic server-side error. |
+ """ |
+ pass |