Class NessieServiceException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    NessieBadResponseException, NessieInternalServerException, NessieNotAuthorizedException

    public class NessieServiceException
    extends java.lang.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:
    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.NessieError getError()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NessieServiceException

        public NessieServiceException​(org.projectnessie.error.NessieError error)
    • Method Detail

      • getError

        public org.projectnessie.error.NessieError getError()