App Engine Python SDK version 1.9.8
[gae.git] / java / src / main / com / google / appengine / api / search / GetException.java
blob9ae004ab93fdc53cf9f62c02e409ba4ba5bb768d
1 // Copyright 2011 Google Inc. All rights reserved.
2 package com.google.appengine.api.search;
4 /**
5 * Thrown to indicate that a search service failure occurred while performing
6 * a request to get requested objects.
8 */
9 public class GetException extends SearchBaseException {
11 /**
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));
21 /**
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
26 * the failure
28 public GetException(OperationResult operationResult) {
29 super(operationResult);