org.outerj.daisy.repository.user
Class DuplicateLoginException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.outerj.daisy.repository.RepositoryException
              extended by org.outerj.daisy.repository.user.UserManagementException
                  extended by org.outerj.daisy.repository.user.DuplicateLoginException
All Implemented Interfaces:
java.io.Serializable, LocalizedException

public class DuplicateLoginException
extends UserManagementException
implements LocalizedException

See Also:
Serialized Form

Constructor Summary
DuplicateLoginException(java.util.Map state)
           
DuplicateLoginException(java.lang.String login)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.String getMessage(java.util.Locale locale)
           
 java.util.Map getState()
          Exceptions which can externalize their state as a map containing string-string pairs can override this method to do so.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

DuplicateLoginException

public DuplicateLoginException(java.lang.String login)

DuplicateLoginException

public DuplicateLoginException(java.util.Map state)
Method Detail

getState

public java.util.Map getState()
Description copied from class: RepositoryException
Exceptions which can externalize their state as a map containing string-string pairs can override this method to do so. In that case, they should also have a constructor taking a Map as argument allowing reconstruction of the exception.

This is used to reconstruct server-side exceptions in the repository client.

Overrides:
getState in class UserManagementException

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class UserManagementException

getMessage

public java.lang.String getMessage(java.util.Locale locale)
Specified by:
getMessage in interface LocalizedException


Copyright © -2012 . All Rights Reserved.