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

public class NessieServiceException extends RuntimeException
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 Details

    • NessieServiceException

      public NessieServiceException(org.projectnessie.error.NessieError error)
  • Method Details

    • getError

      public org.projectnessie.error.NessieError getError()