Merge pull request #66 from yhrn/SPRNET-1566
SPRNET-1566 Return exception instead of throw
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user