1 // Copyright 2007 Google Inc. All rights reserved.
3 package com
.google
.apphosting
.api
;
6 * {@code DeadlineExceededException} is an unchecked exception thrown
7 * whenever a request has exceeded the request deadline (e.g. 60 seconds
8 * in the case of a default instance).
10 * <p>It will typically be thrown from API methods that did not finish
11 * by the deadline. However, this exception may also be thrown <b>at
12 * any time</b>, at any arbitrary point in the execution of your
15 * An application may catch {@code DeadlineExceededException} to
16 * perform cleanup, but it must finish execution shortly afterwards.
17 * If the application delays too long, an uncatchable {@code Error} is
18 * thrown to force termination of the request with extreme prejudice.
21 public class DeadlineExceededException
extends RuntimeException
{
22 public DeadlineExceededException() {
26 public DeadlineExceededException(String message
) {