SONARJAVA-713 main methods should not have throw clauses
SONARJAVA-790 ResultSet.isLast() should not be used
Fix Quality flaws