Package com.google.appengine.api.search
Class SearchBaseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.appengine.api.search.SearchBaseException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DeleteException,GetException,PutException,SearchException,SearchQueryException
public class SearchBaseException extends RuntimeException
Thrown to indicate that a search service failure occurred.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchBaseException(OperationResult operationResult)Constructs an exception when some error occurred in the search service.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationResultgetOperationResult()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SearchBaseException
public SearchBaseException(OperationResult operationResult)
Constructs an exception when some error occurred in the search service.- Parameters:
operationResult- the error code and message detail associated with the failure
-
-
Method Detail
-
getOperationResult
public OperationResult getOperationResult()
- Returns:
- the error code and message detail associated with the failure
-
-