File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
core/src/main/java/com/sap/ai/sdk/core/commons Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 22
33import javax .annotation .Nonnull ;
44
5- /** Generic class that contains a JSON error response. */
5+ /**
6+ * Generic class that contains a JSON error response.
7+ * @since 1.1.0
8+ */
69public interface ClientError {
710 /**
811 * Get the error message.
Original file line number Diff line number Diff line change 22
33import lombok .experimental .StandardException ;
44
5- /** Generic exception for errors occurring when using AI SDK clients. */
5+ /**
6+ * Generic exception for errors occurring when using AI SDK clients.
7+ * @since 1.1.0
8+ */
69@ StandardException
710public class ClientException extends RuntimeException {}
Original file line number Diff line number Diff line change 2020import org .apache .hc .core5 .http .io .entity .EntityUtils ;
2121
2222/**
23- * Parse incoming JSON responses and handles any errors
23+ * Parse incoming JSON responses and handles any errors. For internal use only.
2424 *
2525 * @param <T> The type of the response
2626 * @param <E> The type of the exception to throw
27+ * @since 1.1.0
2728 */
2829@ Slf4j
2930@ RequiredArgsConstructor
You can’t perform that action at this time.
0 commit comments