}
public Account getAccount(String key) throws NoSuchAccountException
{
if (!checkAccountExists(key))
throw new NoSuchAccountException("no Account found for userId: " + key);
Account acct = new Account();
acct = _accountDao.getAccountById(key);
if (acct.getUserId() == null)
throw new NoSuchAccountException("no Account found for userId: " + key);
return acct;
}