org.outerj.daisy.repository.user
Class DuplicateLoginException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.outerj.daisy.repository.RepositoryException
org.outerj.daisy.repository.user.UserManagementException
org.outerj.daisy.repository.user.DuplicateLoginException
- All Implemented Interfaces:
- Serializable, LocalizedException
public class DuplicateLoginException
- extends UserManagementException
- implements LocalizedException
- See Also:
- Serialized Form
DuplicateLoginException
public DuplicateLoginException(String login)
DuplicateLoginException
public DuplicateLoginException(Map state)
getState
public 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 String getMessage()
- Overrides:
getMessage in class UserManagementException
getMessage
public String getMessage(Locale locale)
- Specified by:
getMessage in interface LocalizedException