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:
Serializable
- Direct Known Subclasses:
NessieBadResponseException,NessieInternalServerException,NessieNotAuthorizedException
A 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 a
NessieServiceException.
Errors raised by Nessie Services will be represented either by a BaseNessieClientServerException or by a NessieRuntimeException.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NessieServiceException
public NessieServiceException(org.projectnessie.error.NessieError error)
-
-
Method Details
-
getError
public org.projectnessie.error.NessieError getError()
-