|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.appengine.api.search.SearchBaseException
com.google.appengine.api.search.AddDocumentsException
AddException.
@Deprecated public class AddDocumentsException
Thrown to indicate that a search service failure occurred while adding documents to the index.
| Constructor Summary | |
|---|---|
AddDocumentsException(OperationResult operationResult)
Deprecated. Constructs an exception when some error occurred in the search service when adding some documents to the index. |
|
AddDocumentsException(OperationResult operationResult,
java.util.List<OperationResult> results,
java.util.List<java.lang.String> documentIds)
Deprecated. Constructs an exception when some error occurred in the search service when adding some documents to the index. |
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getDocumentIds()
Deprecated. |
java.util.List<OperationResult> |
getResults()
Deprecated. |
| Methods inherited from class com.google.appengine.api.search.SearchBaseException |
|---|
getOperationResult |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AddDocumentsException(OperationResult operationResult)
operationResult - the error code and message detail associated with
the failure
public AddDocumentsException(OperationResult operationResult,
java.util.List<OperationResult> results,
java.util.List<java.lang.String> documentIds)
operationResult - the error code and message detail associated with
the failureresults - the list of OperationResult where each result is
associated with a document that was requested to be added to the indexdocumentIds - the list of Ids of Document requested to be
added to the index. The search service may provide an Id if none was given
for a Document| Method Detail |
|---|
public java.util.List<OperationResult> getResults()
OperationResult where each result is
associated with a document that was requested to be added to the index@Deprecated public java.util.List<java.lang.String> getDocumentIds()
AddException.getIds().
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||