org.tentackle.appworx.rmi
Class AlreadyLoggedInException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.rmi.RemoteException
                  extended by org.tentackle.db.rmi.LoginFailedException
                      extended by org.tentackle.appworx.rmi.AlreadyLoggedInException
All Implemented Interfaces:
Serializable

public class AlreadyLoggedInException
extends LoginFailedException

Exception thrown by an application server if the user is already logged in.
Only for appservers that don't allow a user logged in more than once.

Author:
harald
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.RemoteException
detail
 
Constructor Summary
AlreadyLoggedInException(AppUserInfo loginInfo)
          Creates an AlreadyLoggedInException.
 
Method Summary
 AppUserInfo getLoginInfo()
          Gets the application user info.
 String getMessage()
          Returns the detail message, including the message from the cause, if any, of this exception.
 
Methods inherited from class java.rmi.RemoteException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, 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

AlreadyLoggedInException

public AlreadyLoggedInException(AppUserInfo loginInfo)
Creates an AlreadyLoggedInException.

Parameters:
loginInfo - the application user info
Method Detail

getLoginInfo

public AppUserInfo getLoginInfo()
Gets the application user info.

Returns:
the user info

getMessage

public String getMessage()
Returns the detail message, including the message from the cause, if any, of this exception.

Overridden due to localized message.

Overrides:
getMessage in class RemoteException
Returns:
the detail message


Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de