Get rid of unneeded try/catch block
MODIFY
dd-java-agent/instrumentation/hibernate-4.0/src/test/groovy/AbstractHibernateTest.groovy
dd-java-agent/instrumentation/hibernate-4.0/src/test/groovy/AbstractHibernateTest.groovy
@@ -13,12 +13,7 @@ abstract class AbstractHibernateTest extends AgentTestRunner {
protected List<Value> prepopulated
def setupSpec() {
- try {
sessionFactory = new Configuration().configure().buildSessionFactory()
- } catch (Exception e) {
- throw e
- }
-
// Pre-populate the DB, so delete/update can be tested.
Session writer = sessionFactory.openSession()
writer.beginTransaction()

Get rid of unneeded try/catch block