code: public static Object validateEqual(Object t1, Object t2, String errorMsg) throws ValidateException {
  		if (false == equal(t1, t2)) {
  			throw new ValidateException(errorMsg);
  		}
  		return t1;
  	}
docs: 验证是否相等，不相等抛出异常<br>
  
  @param t1 对象1
  @param t2 对象2
  @param errorMsg 错误信息
  @return 相同值
  @throws ValidateException 验证异常