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 request to get requested objects.
9 public class GetException
extends SearchBaseException
{
12 * Constructs an exception when some error occurred in
13 * the search service when processing a request to get objects.
15 * @param message the error detail associated with the failure
17 public GetException(String message
) {
18 this(new OperationResult(StatusCode
.INTERNAL_ERROR
, message
));
22 * Constructs an exception when some error occurred in
23 * the search service when processing a request to get objects.
25 * @param operationResult the error code and message detail associated with
28 public GetException(OperationResult operationResult
) {
29 super(operationResult
);