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.VersionIncompatibleException
- All Implemented Interfaces:
Serializable,Loggable
Exception thrown if client's and server's versions don't match.
- Author:
- harald
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVersionIncompatibleException(String message, String clientVersion, String serverVersion) Creates a version incompatible exception. -
Method Summary
Modifier and TypeMethodDescriptionGets the client's version.Gets the server's version.Methods inherited from class org.tentackle.session.LoginFailedException
getLogLevelMethods inherited from class org.tentackle.session.PersistenceException
createFromRemoteException, extractPersistenceException, getIdentifiable, getMessage, getSession, updateDbObjectMethods inherited from class org.tentackle.common.TentackleRuntimeException
isTemporary, setTemporaryMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.tentackle.log.Loggable
withStacktrace
-
Constructor Details
-
VersionIncompatibleException
Creates a version incompatible exception.- Parameters:
message- the optional messageclientVersion- the client versionserverVersion- the server version
-
-
Method Details
-
getClientVersion
Gets the client's version.- Returns:
- the version
-
getServerVersion
Gets the server's version.- Returns:
- the version
-