This commit is contained in:
Anil Koyuncu
2018-03-19 18:36:42 +01:00
parent 182b000ad1
commit 951303b43b
@@ -112,9 +112,11 @@ public class MultiThreadTreeLoader {
} catch (FileNotFoundException e) { } catch (FileNotFoundException e) {
System.out.println("File not found"); log.error("File not found");
e.printStackTrace();
} catch (IOException e) { } catch (IOException e) {
System.out.println("Error initializing stream"); log.error("Error initializing stream");
e.printStackTrace();
} catch (ClassNotFoundException e) { } catch (ClassNotFoundException e) {
// TODO Auto-generated catch block // TODO Auto-generated catch block
e.printStackTrace(); e.printStackTrace();
@@ -160,9 +162,11 @@ public class MultiThreadTreeLoader {
} }
writer.close(); writer.close();
} catch (FileNotFoundException e) { } catch (FileNotFoundException e) {
System.out.println("File not found"); log.error("File not found");
e.printStackTrace();
} catch (IOException e) { } catch (IOException e) {
System.out.println("Error initializing stream"); log.error("Error initializing stream");
e.printStackTrace();
} }
} }
@@ -221,9 +225,11 @@ public class MultiThreadTreeLoader {
} }
writer.close(); writer.close();
} catch (FileNotFoundException e) { } catch (FileNotFoundException e) {
System.out.println("File not found"); log.error("File not found");
e.printStackTrace();
} catch (IOException e) { } catch (IOException e) {
System.out.println("Error initializing stream"); log.error("Error initializing stream");
e.printStackTrace();
} }
} }