Package org.projectnessie.client.rest
Class NessieServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.projectnessie.client.rest.NessieServiceException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
NessieBadResponseException,NessieInternalServerException,NessieNotAuthorizedException
public class NessieServiceException extends java.lang.RuntimeExceptionA runtime exception that represents REST API errors that are beyond Nessie's control. For example, an HTTP 404 (Not Found) error in case of a mistake in the base Nessie URI will be reported as aNessieServiceException.Errors raised by Nessie Services will be represented either by a
BaseNessieClientServerExceptionor by aNessieRuntimeException.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NessieServiceException(org.projectnessie.error.NessieError error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.projectnessie.error.NessieErrorgetError()
-