Package ai.vespa.feed.client
Class ResultException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ai.vespa.feed.client.FeedException
-
- ai.vespa.feed.client.ResultException
-
- All Implemented Interfaces:
java.io.Serializable
public class ResultException extends FeedException
Signals that the document API in the feed container returned a failure result for a feed operation.- Author:
- jonmv
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResultException(DocumentId documentId, java.lang.String message, java.lang.String trace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
getTrace()
Holds the trace, if the failed operation had aOperationParameters.tracelevel(int)
higher than 0.-
Methods inherited from class ai.vespa.feed.client.FeedException
documentId
-
-
-
-
Constructor Detail
-
ResultException
public ResultException(DocumentId documentId, java.lang.String message, java.lang.String trace)
-
-
Method Detail
-
getTrace
public java.util.Optional<java.lang.String> getTrace()
Holds the trace, if the failed operation had aOperationParameters.tracelevel(int)
higher than 0.
-
-