Package org.projectnessie.client.rest
Class NessieBadResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.projectnessie.client.rest.NessieServiceException
org.projectnessie.client.rest.NessieBadResponseException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.projectnessie.client.rest.NessieServiceException
getErrorMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NessieBadResponseException
public NessieBadResponseException(org.projectnessie.error.NessieError serverError)
-