Class 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
      int getActualServerApiVersion()
      The actual API version used by the server, or zero if the server does not report its actual API version.
      int getClientApiVersion()
      The client's API version.
      int getMaxServerApiVersion()
      The maximum API version supported by the server.
      int getMinServerApiVersion()
      The 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NessieApiCompatibilityException

        public NessieApiCompatibilityException​(int clientApiVersion,
                                               int minServerApiVersion,
                                               int maxServerApiVersion,
                                               int actualServerApiVersion)
    • 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.