ServiceException

Code: 0

Message: User by ID not found

File: /var/www/footballnews/api/services/UserService.class.php

Line: 17

Call stack:
#0 /var/www/footballnews/api/system/Blog.class.php(26): UserService->getUserByID('20680')
#1 /var/www/footballnews/api/system/Blog.class.php(68): Blog->getUser()
#2 /var/www/footballnews/controllers/blogs/blogs_tpl.php(40): Blog->makeInfoArray()
#3 /var/www/footballnews/packages/Engine/Engine_ContentDriver.class.php(386): blogs_tpl->process()
#4 /var/www/footballnews/packages/Engine/Engine_ContentDriver.class.php(129): Engine_ContentDriver->displayOne('blogs-tpl')
#5 /var/www/footballnews/packages/Engine/Engine_ContentDriver.class.php(133): Engine_ContentDriver->display('blogs-tpl')
#6 /var/www/footballnews/packages/Engine/Engine_ContentDriver.class.php(95): Engine_ContentDriver->display('blogs')
#7 /var/www/footballnews/packages/Engine/Engine.class.php(216): Engine_ContentDriver->getString('blogs')
#8 /var/www/footballnews/packages/Engine/starter.2.5.php(41): Engine->execute()
#9 {main}

   12	     */
   13	    public function getUserByID($userID) {
   14	        try {
   15	            return User::Get($userID);
   16	        } catch (Exception $e) {}
 >>17	        throw new ServiceException('User by ID not found');
   18	    }
   19	
   20	    /**
   21	     * @return User
   22	     */