Class VersionIncompatibleException

All Implemented Interfaces:
Serializable, Loggable

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

    • VersionIncompatibleException

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

    • getClientVersion

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

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