There is a unit of a code
catch (SQLException e)
{
System.out.println("Connection Failed! Check output console");
e.printStackTrace();
}
How to output result of execution of the operator in the file
e.printStackTrace();
?