repositories
/
TD_SR.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some trace in error paths.
[TD_SR.git]
/
TD2
/
client
/
Main.java
diff --git
a/TD2/client/Main.java
b/TD2/client/Main.java
index bd02ad4562eaf4a51a4ec7d86881b20464612969..82fbfc975b563213df2c108f1bc0b23a43711fed 100644
(file)
--- a/
TD2/client/Main.java
+++ b/
TD2/client/Main.java
@@
-25,6
+25,7
@@
public class Main {
}
catch (IOException e) {
System.err.println("IOException: " + e);
}
catch (IOException e) {
System.err.println("IOException: " + e);
+ e.printStackTrace();
}
finally {
client.closeRWIO();
}
finally {
client.closeRWIO();
@@
-34,6
+35,7
@@
public class Main {
}
catch (IOException e) {
System.err.println("IOException: " + e);
}
catch (IOException e) {
System.err.println("IOException: " + e);
+ e.printStackTrace();
}
}
}
}
}
}
@@
-58,6
+60,7
@@
public class Main {
}
catch (Exception e) {
System.err.println("Exception: " + e);
}
catch (Exception e) {
System.err.println("Exception: " + e);
+ e.printStackTrace();
}
finally {
try {
}
finally {
try {
@@
-88,6
+91,7
@@
public class Main {
}
catch (Exception e) {
System.err.println("Exception: " + e);
}
catch (Exception e) {
System.err.println("Exception: " + e);
+ e.printStackTrace();
}
finally {
try {
}
finally {
try {