private PublicUserInfo GetPublicUserInfo(UserStore.Client userStore, string username) { try { return(userStore.getPublicUserInfo(username)); } catch (Exception ex) { throw new EverpageException( String.Format("Error occurred when getting public info for user '{0}': {1}", username, ex.Message), ex); } }