Class VersionIncompatibleException

  • All Implemented Interfaces:
    java.io.Serializable, org.tentackle.log.Loggable

    public class VersionIncompatibleException
    extends LoginFailedException
    Exception thrown if client's and server's versions don't match.
    Author:
    harald
    See Also:
    Serialized Form
    • Constructor Detail

      • VersionIncompatibleException

        public VersionIncompatibleException​(java.lang.String message,
                                            java.lang.String clientVersion,
                                            java.lang.String serverVersion)
        Creates a version incompatible exception.
        Parameters:
        message - the optional message
        clientVersion - the client version
        serverVersion - the server version
    • Method Detail

      • getClientVersion

        public java.lang.String getClientVersion()
        Gets the client's version.
        Returns:
        the version
      • getServerVersion

        public java.lang.String getServerVersion()
        Gets the server's version.
        Returns:
        the version