com.spss.psapi.core

Class IncompatibleServerException

  • All Implemented Interfaces:
    java.io.Serializable


    public class IncompatibleServerException
    extends ServerConnectionException
    An exception thrown while attempting to connect to an incompatible server version.

    A message string is always created for this exception.

    Since:
    PSAPI 1.1
    Version:
    1.0
    Author:
    Julian Clinton
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      IncompatibleServerException(java.lang.String message, int major, int minor, int patch)
      Creates an IncompatibleServerException with a message.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getServerMajorVersion()
      Returns the major version returned by the server being connected to.
      int getServerMinorVersion()
      Returns the minor version returned by the server being connected to.
      int getServerPatchVersion()
      Returns the patch version returned by the server being connected to.
      • 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

      • IncompatibleServerException

        public IncompatibleServerException(java.lang.String message,
                                   int major,
                                   int minor,
                                   int patch)
        Creates an IncompatibleServerException with a message.
        Parameters:
        message - the message
    • Method Detail

      • getServerMajorVersion

        public int getServerMajorVersion()
        Returns the major version returned by the server being connected to.
        Returns:
        the major version returned by the server
      • getServerMinorVersion

        public int getServerMinorVersion()
        Returns the minor version returned by the server being connected to.
        Returns:
        the minor version returned by the server
      • getServerPatchVersion

        public int getServerPatchVersion()
        Returns the patch version returned by the server being connected to.
        Returns:
        the patch version returned by the server

Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.