Update WriteExceptionToFile.java

printError