jetbrains.buildServer.users
Class DuplicateUserAccountException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by jetbrains.buildServer.users.DuplicateUserAccountException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateUserAccountException
extends java.lang.RuntimeException

Thrown on attempt to create a user with a username which already exists in the database.

See Also:
Serialized Form

Constructor Summary
DuplicateUserAccountException(java.lang.String account)
           
DuplicateUserAccountException(java.lang.String account, java.lang.String message)
          Constructor
 
Method Summary
 java.lang.String getAccount()
          Returns username
 java.lang.String getMessage()
           
 
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

DuplicateUserAccountException

public DuplicateUserAccountException(java.lang.String account)

DuplicateUserAccountException

public DuplicateUserAccountException(java.lang.String account,
                                     java.lang.String message)
Constructor

Parameters:
account - username
message - message
Method Detail

getAccount

public java.lang.String getAccount()
Returns username

Returns:
username

getMessage

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