App Engine Python SDK version 1.7.4 (2)
[gae.git] / java / src / main / com / google / appengine / api / urlfetch / ResponseTooLargeException.java
blob8ada3eb74b20ffc14ca392368962d47e13427649
1 // Copyright 2008 Google Inc. All Rights Reserved.
2 package com.google.appengine.api.urlfetch;
4 /**
5 * {@code ResponseTooLargeException} is thrown when the result of a
6 * {@link URLFetchService} operation is too large.
8 */
9 public class ResponseTooLargeException extends RuntimeException {
11 private static final String MESSAGE_FORMAT = "The response from url %s was too large.";
13 public ResponseTooLargeException(String url) {
14 super(String.format(MESSAGE_FORMAT, url));