More improvements to fail() messages (add primary error msg)

This commit is contained in:
Tim Donohue
2013-10-23 14:55:15 -05:00
parent 82a413511c
commit 1182c54b72
12 changed files with 22 additions and 22 deletions

View File

@@ -76,12 +76,12 @@ public class ItemTest extends AbstractDSpaceObjectTest
catch (AuthorizeException ex)
{
log.error("Authorization Error in init", ex);
fail("Authorization Error in init:" + ex.getMessage());
fail("Authorization Error in init: " + ex.getMessage());
}
catch (SQLException ex)
{
log.error("SQL Error in init", ex);
fail("SQL Error in init:" + ex.getMessage());
fail("SQL Error in init: " + ex.getMessage());
}
}