Package org.projectnessie.client.http
Class NessieApiCompatibilityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.projectnessie.client.http.NessieApiCompatibilityException
-
- All Implemented Interfaces:
java.io.Serializable
public class NessieApiCompatibilityException extends java.lang.RuntimeException- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NessieApiCompatibilityException(int clientApiVersion, int minServerApiVersion, int maxServerApiVersion, int actualServerApiVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetActualServerApiVersion()The actual API version used by the server, or zero if the server does not report its actual API version.intgetClientApiVersion()The client's API version.intgetMaxServerApiVersion()The maximum API version supported by the server.intgetMinServerApiVersion()The minimum API version supported by the server.
-
-
-
Method Detail
-
getClientApiVersion
public int getClientApiVersion()
The client's API version.
-
getMinServerApiVersion
public int getMinServerApiVersion()
The minimum API version supported by the server.
-
getMaxServerApiVersion
public int getMaxServerApiVersion()
The maximum API version supported by the server.
-
getActualServerApiVersion
public int getActualServerApiVersion()
The actual API version used by the server, or zero if the server does not report its actual API version.
-
-