jetbrains.buildServer.users
Class UserNotFoundException

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

public class UserNotFoundException
extends java.lang.RuntimeException

Thrown if user does not exist anymore

See Also:
Serialized Form

Constructor Summary
UserNotFoundException(long userId)
          Constructor
UserNotFoundException(long userId, java.lang.String message)
          Constructor
 
Method Summary
 long getUserId()
          Returns id of a non existent user
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

UserNotFoundException

public UserNotFoundException(long userId)
Constructor

Parameters:
userId - id of a non existent user

UserNotFoundException

public UserNotFoundException(long userId,
                             java.lang.String message)
Constructor

Parameters:
userId - id of a non existent user
message - message
Method Detail

getUserId

public long getUserId()
Returns id of a non existent user

Returns:
id of a non existent user