String cannotConnectFormat = trans(CfbBundle.CANNOT_CONNECT);
String cannotConnect = MessageFormat.format(cannotConnectFormat, m_host, ""+m_port, m_dbName, m_user);
exc.printStackTrace(pw);
+ SQLException next = exc.getNextException();
+ while (null != next) {
+ next.printStackTrace(pw);
+ next = next.getNextException();
+ }
pw.println(cannotConnect);
}