Revision created by MOE tool push_codebase.
[gae.git] / java / src / main / com / google / appengine / api / search / InternalFailureException.java
blob4fa5a625a2431a332344df373a963a7371caa59a
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 * @deprecated As of 1.7.1, replaced by {@link SearchServiceException}.
8 */
9 @Deprecated
10 public class InternalFailureException extends RuntimeException {
11 private static final long serialVersionUID = 6323191554940253153L;
13 /**
14 * Constructs an exception which indicates an internal error
15 * occurred in the search service.
17 * @param detail the error message detail to associate with the
18 * internal error
20 public InternalFailureException(String detail) {
21 super(detail);
24 /**
25 * Constructs an exception which indicates an internal error
26 * occurred in the search service.
28 * @param detail the error message detail to associate with the
29 * internal error
30 * @param e the causing {@link Exception}
32 public InternalFailureException(String detail, Exception e) {
33 super(detail, e);