Merge pull request #66 from yhrn/SPRNET-1566

SPRNET-1566 Return exception instead of throw
This commit is contained in:
Steve Bohlen
2014-03-01 16:29:09 -05:00

View File

@@ -64,7 +64,7 @@ namespace Spring.Data.Support
/// </returns>
public DataAccessException Translate(string task, string sql, Exception exception)
{
throw new UncategorizedAdoException(task, sql, "<no error code>", exception);
return new UncategorizedAdoException(task, sql, "<no error code>", exception);
}
}
}