protected User getUser ( int id ) { User user = users ( ) . get ( id ) ; if ( user == null ) { throw new IllegalStateException ( format ( "Could not find user corresponding to id [%d]" , id ) ) ; } return user ; }
Gets the user with the specified ID .