summaryrefslogtreecommitdiffstats
path: root/Dozentenmodul/src/gui/intro/Login_GUI.java
diff options
context:
space:
mode:
Diffstat (limited to 'Dozentenmodul/src/gui/intro/Login_GUI.java')
-rw-r--r--Dozentenmodul/src/gui/intro/Login_GUI.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/Dozentenmodul/src/gui/intro/Login_GUI.java b/Dozentenmodul/src/gui/intro/Login_GUI.java
index aa28b3b6..0efbe3cb 100644
--- a/Dozentenmodul/src/gui/intro/Login_GUI.java
+++ b/Dozentenmodul/src/gui/intro/Login_GUI.java
@@ -69,6 +69,9 @@ public class Login_GUI extends JFrame {
} catch (Exception e) {
e.printStackTrace();
+ JOptionPane.showMessageDialog(null,
+ e.getStackTrace(),
+ "Message", JOptionPane.ERROR_MESSAGE);
}
}
});
@@ -94,6 +97,9 @@ public class Login_GUI extends JFrame {
| IllegalAccessException | UnsupportedLookAndFeelException e) {
// TODO Auto-generated catch block
e.printStackTrace();
+ JOptionPane.showMessageDialog(null,
+ e.getCause()+"\n"+e.getMessage(),
+ "Debug-Message", JOptionPane.ERROR_MESSAGE);
}
// Titel des Fensters setzen
setTitle("Dozentenmodul *Prototyp*");
@@ -260,6 +266,9 @@ public class Login_GUI extends JFrame {
} catch (IOException | TException e) {
// TODO Auto-generated catch block
e.printStackTrace();
+ JOptionPane.showMessageDialog(null,
+ e.getCause()+"\n"+e.getMessage(),
+ "Debug-Message", JOptionPane.ERROR_MESSAGE);
}
} else {
@@ -284,10 +293,17 @@ public class Login_GUI extends JFrame {
"Benutzeranmeldung fehlgeschlagen: Bitte Benutzername und Passwort überprüfen.",
"Anmeldung fehlgeschlagen",
JOptionPane.ERROR_MESSAGE);
+ e.printStackTrace();
+ JOptionPane.showMessageDialog(null,
+ e.getCause()+"\n"+e.getMessage(),
+ "Message", JOptionPane.ERROR_MESSAGE);
return;
} catch (TException e) {
// TODO Auto-generated catch block
e.printStackTrace();
+ JOptionPane.showMessageDialog(null,
+ e.getCause()+"\n"+e.getMessage(),
+ "Debug-Message", JOptionPane.ERROR_MESSAGE);
return;
}
}// end performLogin