org.outerj.daisy.repository.user
Class UserManagementException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.outerj.daisy.repository.RepositoryException
              extended byorg.outerj.daisy.repository.user.UserManagementException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DuplicateLoginException, RoleNotFoundException, UserNotFoundException

public class UserManagementException
extends RepositoryException

An exception that is thrown when something went wrong during User Management

See Also:
Serialized Form

Constructor Summary
UserManagementException()
           
UserManagementException(java.util.Map state)
           
UserManagementException(java.lang.String string)
           
UserManagementException(java.lang.String string, java.lang.Exception e)
           
UserManagementException(java.lang.String string, java.lang.Throwable e)
           
UserManagementException(java.lang.Throwable arg0)
           
 
Method Summary
 java.lang.String getMessage()
           
 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

UserManagementException

public UserManagementException(java.lang.String string)

UserManagementException

public UserManagementException(java.lang.String string,
                               java.lang.Exception e)

UserManagementException

public UserManagementException(java.lang.String string,
                               java.lang.Throwable e)

UserManagementException

public UserManagementException()

UserManagementException

public UserManagementException(java.lang.Throwable arg0)

UserManagementException

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

getMessage

public java.lang.String getMessage()

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 RepositoryException


Copyright © -2005 . All Rights Reserved.