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:
    java.io.Serializable
  Direct Known Subclasses:
    DeleteException, GetException, PutException, SearchException, SearchQueryException

      public class SearchBaseException
      extends java.lang.RuntimeException

  Thrown to indicate that a search service failure occurred.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and 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 and Description
    --- | ---
    `OperationResult` | `getOperationResult()`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 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