Revision created by MOE tool push_codebase.
[gae.git] / java / src / main / com / google / appengine / api / search / SearchServiceException.java
blob9f63ba3f20b4160c633ca3b17c9c69950881a3aa
1 // Copyright 2010 Google Inc. All rights reserved.
2 package com.google.appengine.api.search;
4 /**
5 * Thrown to indicate that a search service failure occurred.
7 */
8 public class SearchServiceException extends RuntimeException {
9 private static final long serialVersionUID = -3400183609064651906L;
11 /**
12 * Constructs an exception which indicates an internal error
13 * occurred in the search service.
15 * @param detail the error message detail to associate with the
16 * internal error
18 public SearchServiceException(String detail) {
19 super(detail);
22 /**
23 * Constructs an exception which indicates an internal error
24 * occurred in the search service.
26 * @param detail the error message detail to associate with the
27 * internal error
28 * @param e the causing {@link Exception}
30 public SearchServiceException(String detail, Exception e) {
31 super(detail, e);