Class UserNotFoundException

    • Constructor Detail

      • UserNotFoundException

        public UserNotFoundException​(long userId)
        Constructor
        Parameters:
        userId - id of a non existent user
      • UserNotFoundException

        public UserNotFoundException​(long userId,
                                     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