code: public T uniqueResult()
  	{
  		if (list == null || list.size() == 0)
  			return null;
  		else if (list.size() == 1)
  			return list.get(0);
  		else
  			throw new IllegalArgumentException("Asked for unique result but resultset contained " + list.size() + " results!");
  	}
docs: When a single result is expected, returns that result (or null if no results were returned). Throws an {@link
  IllegalArgumentException} if more than one results were returned
  
  @return