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.AlreadyLoggedInException
- All Implemented Interfaces:
Serializable,Loggable
Exception thrown if the user is already logged in.
Usually for application servers that don't allow a user logged in more than once.
Usually for application servers that don't allow a user logged in more than once.
- Author:
- harald
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAlreadyLoggedInException(Session session, SessionInfo loginInfo) Creates anAlreadyLoggedInException. -
Method Summary
Modifier and TypeMethodDescriptionGets the application session info.Methods inherited from class org.tentackle.session.LoginFailedException
getLogLevelMethods inherited from class org.tentackle.session.PersistenceException
createFromRemoteException, extractPersistenceException, getIdentifiable, 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
-
AlreadyLoggedInException
Creates anAlreadyLoggedInException.- Parameters:
session- the sessionloginInfo- the login session info
-
-
Method Details
-
getLoginInfo
Gets the application session info.- Returns:
- the session info
-
getMessage
Overridden due to localized message.
- Overrides:
getMessagein classPersistenceException
-