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
9 public class SearchException
extends SearchBaseException
{
10 private static final long serialVersionUID
= 3608247775865189592L;
13 * Constructs an exception when some error occurred in
14 * the search service when processing a search request.
16 * @param message the error detail associated with the failure
18 public SearchException(String message
) {
19 this(new OperationResult(StatusCode
.INTERNAL_ERROR
, message
));
23 * Constructs an exception when some error occurred in
24 * the search service when processing a search request.
26 * @param operationResult the error code and message detail associated with
29 public SearchException(OperationResult operationResult
) {
30 super(operationResult
);