nessie icon indicating copy to clipboard operation
nessie copied to clipboard

Add generic java client runtime exceptions

Open dimas-b opened this issue 2 years ago • 2 comments

Nessie has HttpClientException and HttpClientReadTimeoutException, which extend RuntimeException.

While "http" is indeed the "kind" of the Nessie client, having more generic exception names would be beneficial for the overall Nessie java client design and future improvements.

For example: NessieClientException.

dimas-b avatar Jun 28 '22 22:06 dimas-b

Conversely, NessieNotAuthorizedException represents HTTP 401 errors, but exists outside of the http client scope in code... Some clarification seems to be in order there,

dimas-b avatar Jun 29 '22 17:06 dimas-b

We could revisit this one for v2 API as well.

snazy avatar Sep 06 '22 11:09 snazy