SQLException not captured

Message:
Can't connect to MySQL server on '10.20.0.20' (113)
Error code: 2003
		
File: /var/www/commonv2/packages/system/db/mysql/MySQLConnection.php

Line: 94

Stack trace:
#0 /var/www/commonv2/packages/system/db/mysql/MySQLConnection.php(54): MySQLConnection->connect('10.20.0.20', 'gsb', 'gsb', 'portalgsb')
#1 /var/www/commonv2/packages/system/db/mysql/MySQLConnection.php(73): MySQLConnection->__construct('10.20.0.20', 'gsb', 'gsb', 'portalgsb', 3306)
#2 /var/www/commonv2/packages/system/db/DB.php(105): MySQLConnection::init('10.20.0.20', 'gsb', 'gsb', 'portalgsb', 3306)
#3 /var/www/redlaboral.gsb.com.ar/public_html/application.php(137): DB::getConnection('10.20.0.20', 'gsb', 'gsb', 'portalgsb')
#4 /var/www/redlaboral.gsb.com.ar/public_html/index.php(10): require_once('/var/www/redlab...')
#5 {main}