com.flexive.shared.exceptions
Class FxAccountInUseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by javax.security.auth.login.LoginException
                  extended by com.flexive.shared.exceptions.FxAccountInUseException
All Implemented Interfaces:
java.io.Serializable

public class FxAccountInUseException
extends javax.security.auth.login.LoginException

Exception that is thrown when a account is already in use.

Version:
$Rev: 2906 $
Author:
Gregor Schober (gregor.schober@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
See Also:
Serialized Form

Constructor Summary
FxAccountInUseException(java.lang.String username, java.lang.String loggedInFrom, java.util.Date loggedInSince)
          Constructor.
 
Method Summary
 java.lang.String getLoggedInFrom()
          Returns the client address that the account is beeing used from.
 java.util.Date getLoggedInSince()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

FxAccountInUseException

public FxAccountInUseException(java.lang.String username,
                               java.lang.String loggedInFrom,
                               java.util.Date loggedInSince)
Constructor.

Parameters:
username - user name
loggedInFrom - where is the user logged in from
loggedInSince - login timestamp
Method Detail

getLoggedInFrom

public java.lang.String getLoggedInFrom()
Returns the client address that the account is beeing used from.

Returns:
the client address that the account is beeing used from.

getLoggedInSince

public java.util.Date getLoggedInSince()