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:
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, String message, String trace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<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
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ResultException
public ResultException(DocumentId documentId, String message, String trace)
-
-
Method Detail
-
getTrace
public Optional<String> getTrace()
Holds the trace, if the failed operation had aOperationParameters.tracelevel(int)
higher than 0.
-
-