thirdparty/google_appengine/google/appengine/runtime/__init__.py
changeset 149 f2e327a7c5de
parent 109 620f9b141567
--- a/thirdparty/google_appengine/google/appengine/runtime/__init__.py	Tue Sep 16 01:18:49 2008 +0000
+++ b/thirdparty/google_appengine/google/appengine/runtime/__init__.py	Tue Sep 16 02:28:33 2008 +0000
@@ -14,3 +14,20 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
+
+"""Define the DeadlineExceededError exception."""
+
+
+
+try:
+  BaseException
+except NameError:
+  BaseException = Exception
+
+
+class DeadlineExceededError(BaseException):
+  """Exception raised when the request reaches its overall time limit.
+
+  Not to be confused with runtime.apiproxy_errors.DeadlineExceededError.
+  That one is raised when individual API calls take too long.
+  """