Uses of Class
com.yahoo.processing.request.ErrorMessage
Packages that use ErrorMessage
Package
Description
Java library for request-response data processing.
-
Uses of ErrorMessage in com.yahoo.container.jdisc
Methods in com.yahoo.container.jdisc with parameters of type ErrorMessageModifier and TypeMethodDescriptionstatic int
VespaHeaders.getEagerErrorStatus
(ErrorMessage mainError, Iterator<? extends ErrorMessage> allErrors) Returns 5xx or 4xx if there is any error present in the result, 200 otherwisestatic int
VespaHeaders.getStatus
(boolean isSuccess, ErrorMessage mainError, Iterator<? extends ErrorMessage> allErrors) (during normal execution) return 200 unless this is not a success or a 4xx error is requested.Method parameters in com.yahoo.container.jdisc with type arguments of type ErrorMessageModifier and TypeMethodDescriptionstatic int
VespaHeaders.getEagerErrorStatus
(ErrorMessage mainError, Iterator<? extends ErrorMessage> allErrors) Returns 5xx or 4xx if there is any error present in the result, 200 otherwisestatic int
VespaHeaders.getStatus
(boolean isSuccess, ErrorMessage mainError, Iterator<? extends ErrorMessage> allErrors) (during normal execution) return 200 unless this is not a success or a 4xx error is requested. -
Uses of ErrorMessage in com.yahoo.processing
Methods in com.yahoo.processing that return types with arguments of type ErrorMessageModifier and TypeMethodDescriptionRequest.errors()
Returns the list of errors encountered while processing this request, never null.Constructors in com.yahoo.processing with parameters of type ErrorMessageModifierConstructorDescriptionResponse
(Request request, ErrorMessage errorMessage) Convenience constructor which adds the given error message to the given request -
Uses of ErrorMessage in com.yahoo.processing.request
Methods in com.yahoo.processing.request that return ErrorMessage