It only return true and false and even the service is able to create a connection from the connection factory. So no real chances to catch exception. The exception that is being thrown is a java.sql.SQLException and it is being throw in the PentahoConnectionFactory. I have tried to catch it over there but had not luck. I will try to see any other place where exception can be trapped