Uses of Class
com.yahoo.search.result.ErrorMessage
-
Packages that use ErrorMessage Package Description com.yahoo.prelude The main classes of the Vespa Query Result Server.com.yahoo.search The top level classes of the search container. A Query represents the incoming request, which produces a Result by chained execution of a set of Searchers.com.yahoo.search.cluster Standard searchers to compose in source search chains (those containing searchers specific for one source and which ends with a call to some provider) which calls a cluster of provider nodes.com.yahoo.search.pagetemplates.result com.yahoo.search.rendering com.yahoo.search.result The content of a Result produced in response to a Query.com.yahoo.search.searchchain Classes for composition of searchers into search chains, which are executed to produce Results for Queries. -
-
Uses of ErrorMessage in com.yahoo.prelude
Methods in com.yahoo.prelude that return ErrorMessage Modifier and Type Method Description ErrorMessage
Pong. getError(int i)
Deprecated.use error() insteadMethods in com.yahoo.prelude that return types with arguments of type ErrorMessage Modifier and Type Method Description java.util.Optional<ErrorMessage>
Pong. error()
java.util.List<ErrorMessage>
Pong. getErrors()
Deprecated.use error() insteadMethods in com.yahoo.prelude with parameters of type ErrorMessage Modifier and Type Method Description void
Pong. addError(ErrorMessage error)
Deprecated.do not use.Constructors in com.yahoo.prelude with parameters of type ErrorMessage Constructor Description Pong(ErrorMessage error)
-
Uses of ErrorMessage in com.yahoo.search
Constructors in com.yahoo.search with parameters of type ErrorMessage Constructor Description Result(Query query, ErrorMessage errorMessage)
Create a result containing an error -
Uses of ErrorMessage in com.yahoo.search.cluster
Methods in com.yahoo.search.cluster with parameters of type ErrorMessage Modifier and Type Method Description abstract void
BaseNodeMonitor. failed(ErrorMessage error)
Called when this node fails.void
ClusterMonitor. failed(T node, ErrorMessage error)
Called from ClusterSearcher/NodeManager when a node failedvoid
TrafficNodeMonitor. failed(ErrorMessage error)
Called when this node fails.protected Result
ClusterSearcher. search(Query query, Execution execution, ErrorMessage message)
This is called (instead of search(query, execution, connection) to handle searches where no (suitable) backend was available. -
Uses of ErrorMessage in com.yahoo.search.pagetemplates.result
Methods in com.yahoo.search.pagetemplates.result with parameters of type ErrorMessage Modifier and Type Method Description static void
PageTemplatesXmlRenderer. renderMessageDefaultErrorHit(com.yahoo.text.XMLWriter writer, ErrorMessage error)
-
Uses of ErrorMessage in com.yahoo.search.rendering
Methods in com.yahoo.search.rendering with parameters of type ErrorMessage Modifier and Type Method Description static void
SyncDefaultRenderer. renderMessageDefaultErrorHit(com.yahoo.text.XMLWriter writer, ErrorMessage error)
static void
XmlRenderer. renderMessageDefaultErrorHit(com.yahoo.text.XMLWriter writer, ErrorMessage error)
Method parameters in com.yahoo.search.rendering with type arguments of type ErrorMessage Modifier and Type Method Description abstract void
SectionedRenderer. error(WRITER writer, java.util.Collection<ErrorMessage> errorMessages)
Called if there are errors in the result.protected void
JsonRenderer. renderErrors(java.util.Set<ErrorMessage> errors)
-
Uses of ErrorMessage in com.yahoo.search.result
Methods in com.yahoo.search.result that return ErrorMessage Modifier and Type Method Description ErrorMessage
ErrorMessage. clone()
static ErrorMessage
ErrorMessage. createBackendCommunicationError(java.lang.String detailedMessage)
Creates an error indicating that there was a general error communicating with a backend service.static ErrorMessage
ErrorMessage. createBadRequest(java.lang.String detailedMessage)
Creates an error analog to HTTP bad request.static ErrorMessage
ErrorMessage. createEmptyDocsums(java.lang.String detailedMessage)
Creates an error indicating that a request to a backend returned empty document content data.static ErrorMessage
ErrorMessage. createErrorInPluginSearcher(java.lang.String detailedMessage)
Creates a general error from an application components.static ErrorMessage
ErrorMessage. createErrorInPluginSearcher(java.lang.String detailedMessage, java.lang.Throwable cause)
Creates a general error from an application component.static ErrorMessage
ErrorMessage. createForbidden(java.lang.String detailedMessage)
Creates an error indicating that a forbidden operation was requested.static ErrorMessage
ErrorMessage. createIllegalQuery(java.lang.String detailedMessage)
Creates an error message indicating that an illegal query was attempted evaluated.static ErrorMessage
ErrorMessage. createInternalServerError(java.lang.String detailedMessage)
Creates an error analog to HTTP internal server error.static ErrorMessage
ErrorMessage. createInvalidQueryParameter(java.lang.String detailedMessage)
Creates an error message indicating that an invalid request parameter was received.static ErrorMessage
ErrorMessage. createInvalidQueryParameter(java.lang.String detailedMessage, java.lang.Throwable cause)
Creates an error message indicating that an invalid request parameter was received.static ErrorMessage
ErrorMessage. createInvalidQueryTransformation(java.lang.String detailedMessage)
Creates an error indicating that an invalid query transformation was attempted.static ErrorMessage
ErrorMessage. createNoAnswerWhenPingingNode(java.lang.String detailedMessage)
Creates an error indicating that a node could not be pinged.static ErrorMessage
ErrorMessage. createNoBackendsInService(java.lang.String detailedMessage)
Creates an error message indicating that some backend service is unreachablestatic ErrorMessage
ErrorMessage. createNotFound(java.lang.String detailedMessage)
Creates an error indicating that the requested resource was not found.static ErrorMessage
ErrorMessage. createNullQuery(java.lang.String detailedMessage)
Creates an error message indicating that a null query was attempted evaluatedstatic ErrorMessage
ErrorMessage. createRequestTooLarge(java.lang.String detailedMessage)
Creates an error message indicating that the request is too largestatic ErrorMessage
ErrorMessage. createServerIsMisconfigured(java.lang.String detailedMessage)
Creates an error indicating that the server is misconfiguredstatic ErrorMessage
ErrorMessage. createTimeout(java.lang.String detailedMessage)
Creates an error indicating that a request to a backend timed out.static ErrorMessage
ErrorMessage. createUnauthorized(java.lang.String detailedMessage)
Creates an error indicating that the requestor is not authorized to perform the requested operation.static ErrorMessage
ErrorMessage. createUnspecifiedError(java.lang.String detailedMessage)
Creates a generic message used when there is no information available on the category of the error.static ErrorMessage
ErrorMessage. createUnspecifiedError(java.lang.String detailedMessage, java.lang.Throwable cause)
Creates a generic message used when there is no information available on the category of the error.static ErrorMessage
ErrorMessage. from(com.yahoo.processing.request.ErrorMessage error)
Returns the given error message as this type.ErrorMessage
HitGroup. getError()
Returns the first error in this result, or null if no searcher has produced an error AND the query doesn't contain an errorMethods in com.yahoo.search.result that return types with arguments of type ErrorMessage Modifier and Type Method Description java.util.Iterator<ErrorMessage>
DefaultErrorHit. errorIterator()
Returns all the detail errors of this error hit, not including the main error.java.util.Iterator<? extends ErrorMessage>
ErrorHit. errorIterator()
Returns all the detail errors of this error hit, including the main errorjava.util.Set<ErrorMessage>
DefaultErrorHit. errors()
Returns a read-only set containing all the error of thisjava.util.Set<ErrorMessage>
ErrorHit. errors()
Returns a read-only set containing all the error of this, including the main errorMethods in com.yahoo.search.result with parameters of type ErrorMessage Modifier and Type Method Description void
DefaultErrorHit. addError(ErrorMessage error)
Adds an error to thisvoid
ErrorHit. addError(ErrorMessage error)
Adds an error to this.void
HitGroup. addError(ErrorMessage error)
Adds an error to this resultConstructors in com.yahoo.search.result with parameters of type ErrorMessage Constructor Description DefaultErrorHit(java.lang.String source, ErrorMessage error)
Creates an error hit with one errorConstructor parameters in com.yahoo.search.result with type arguments of type ErrorMessage Constructor Description DefaultErrorHit(java.lang.String source, java.util.List<ErrorMessage> errors)
Creates an error hit with a list of errors -
Uses of ErrorMessage in com.yahoo.search.searchchain
Methods in com.yahoo.search.searchchain that return ErrorMessage Modifier and Type Method Description ErrorMessage
FutureResult. createTimeoutError()
-