Class NessieBadResponseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NessieBadResponseException
    extends NessieServiceException
    Represents an unexpected response from the remote side, trying to access a Nessie endpoint. For example, non-JSON responses cause this unchecked exception to be thrown. Note: this exception is not thrown for an HTTP/400 (Bad Request).
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NessieBadResponseException​(org.projectnessie.error.NessieError serverError)  
    • Method Summary

      • 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

      • NessieBadResponseException

        public NessieBadResponseException​(org.projectnessie.error.NessieError serverError)