1 // Copyright 2008 Google Inc. All Rights Reserved.
2 package com
.google
.appengine
.api
.urlfetch
;
5 * {@code ResponseTooLargeException} is thrown when the result of a
6 * {@link URLFetchService} operation is too large.
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
));