- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.tentackle.common.TentackleRuntimeException
-
- org.tentackle.session.PersistenceException
-
- org.tentackle.session.LoginFailedException
-
- org.tentackle.session.VersionInfoIncompatibleException
-
- All Implemented Interfaces:
java.io.Serializable,org.tentackle.log.Loggable
public class VersionInfoIncompatibleException extends LoginFailedException
Exception thrown if client's and server's versions don't match.- Author:
- harald
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.tentackle.session.PersistenceException
END_INFO, START_INFO
-
-
Constructor Summary
Constructors Constructor Description VersionInfoIncompatibleException(java.lang.String message, java.io.Serializable clientVersion, java.io.Serializable serverVersion)Creates a version incompatible exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.SerializablegetClientVersion()Gets the client's version.java.io.SerializablegetServerVersion()Gets the server's version.-
Methods inherited from class org.tentackle.session.LoginFailedException
getLogLevel
-
Methods inherited from class org.tentackle.session.PersistenceException
createFromRemoteException, extractPersistenceException, getIdentifiable, getMessage, getSession, setIdentifiable, setSession, updateDbObject
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
VersionInfoIncompatibleException
public VersionInfoIncompatibleException(java.lang.String message, java.io.Serializable clientVersion, java.io.Serializable serverVersion)Creates a version incompatible exception.- Parameters:
message- the optional messageclientVersion- the client versionserverVersion- the server version
-
-