Package jetbrains.buildServer.users
Class DuplicateUserAccountException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jetbrains.buildServer.users.DuplicateUserAccountException
-
- All Implemented Interfaces:
Serializable
public class DuplicateUserAccountException extends RuntimeException
Thrown on attempt to create a user with a username which already exists in the database.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DuplicateUserAccountException(String account)
DuplicateUserAccountException(String account, String message)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccount()
Returns usernameString
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getAccount
public String getAccount()
Returns username- Returns:
- username
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-