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:
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 org.projectnessie.client.rest.NessieServiceException
getError
-
-