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:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNessieApiCompatibilityException(int clientApiVersion, int minServerApiVersion, int maxServerApiVersion, int actualServerApiVersion) -
Method Summary
Modifier and TypeMethodDescriptionintThe actual API version used by the server, or zero if the server does not report its actual API version.intThe client's API version.intThe maximum API version supported by the server.intThe minimum API version supported by the server.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NessieApiCompatibilityException
public NessieApiCompatibilityException(int clientApiVersion, int minServerApiVersion, int maxServerApiVersion, int actualServerApiVersion)
-
-
Method Details
-
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.
-