diff options
| author | unknown | 2014-04-17 08:49:41 +0200 |
|---|---|---|
| committer | unknown | 2014-04-17 08:49:41 +0200 |
| commit | 9a0146ebd3e43334b261d1014ce221900a520bef (patch) | |
| tree | 8be75f30cffde5319441f642383c8caa34dc1d89 /Dozentenmodul/src/ftp/FTPUtility.java | |
| parent | g (diff) | |
| parent | Debugging: Jeder Fehler poppt auf in einem Textfenster und kann analysiert we... (diff) | |
| download | tutor-module-9a0146ebd3e43334b261d1014ce221900a520bef.tar.gz tutor-module-9a0146ebd3e43334b261d1014ce221900a520bef.tar.xz tutor-module-9a0146ebd3e43334b261d1014ce221900a520bef.zip | |
Merge branch 'master' of git.openslx.org:openslx-ng/tutor-module
Conflicts:
Dozentenmodulserver/bin/server/ServerHandler.class
Dozentenmodulserver/src/server/ServerHandler.java
Diffstat (limited to 'Dozentenmodul/src/ftp/FTPUtility.java')
| -rw-r--r-- | Dozentenmodul/src/ftp/FTPUtility.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Dozentenmodul/src/ftp/FTPUtility.java b/Dozentenmodul/src/ftp/FTPUtility.java index 7824440a..b4543349 100644 --- a/Dozentenmodul/src/ftp/FTPUtility.java +++ b/Dozentenmodul/src/ftp/FTPUtility.java @@ -7,6 +7,8 @@ import java.io.OutputStream; import java.net.SocketException; import java.security.NoSuchAlgorithmException; +import javax.swing.JOptionPane; + import models.Image; import org.apache.commons.net.ftp.FTP; @@ -224,6 +226,9 @@ public class FTPUtility { } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); + JOptionPane.showMessageDialog(null, + e.getCause()+"\n"+e.getMessage(), + "Debug-Message", JOptionPane.ERROR_MESSAGE); } |
