code: public static DaoException translate(DataAccessException dae) {
          if (dae instanceof DuplicateKeyException) {
              return new DuplicatedValueException(dae);
          }
          return new DaoException(dae);
      }
docs: Translate to {@link DaoException}.
  
  @param dae
  @return