error
This commit is contained in:
+12
-6
@@ -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();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user