1 // Copyright 2011 Google Inc. All rights reserved.
2 package com
.google
.appengine
.api
.search
;
5 * Thrown to indicate that a search service failure occurred while performing
6 * a list documents request.
8 * @deprecated As of 1.6.6, replaced by {@link ListException}.
11 public class ListDocumentsException
extends SearchBaseException
{
12 static final long serialVersionUID
= -3978896724020409268L;
15 * Constructs an exception when some error occurred in
16 * the search service when processing a list documents request.
18 * @param message the error detail associated with the failure
20 public ListDocumentsException(String message
) {
21 this(new OperationResult(StatusCode
.INTERNAL_ERROR
, message
));
25 * Constructs an exception when some error occurred in
26 * the search service when processing a list documents request.
28 * @param operationResult the error code and message detail associated with
31 public ListDocumentsException(OperationResult operationResult
) {
32 super(operationResult
);