OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 47 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 47 Rev 181
Line 99... Line 99...
99
                            fOut.flush();
99
                            fOut.flush();
100
                            fOut.close();
100
                            fOut.close();
101
                            ll.uploadFile(f, "OpenConcerto/Devis/2010", "Test Google Docs", true);
101
                            ll.uploadFile(f, "OpenConcerto/Devis/2010", "Test Google Docs", true);
102
                            JOptionPane.showMessageDialog(GoogleDocsPreferencePanel.this, "Connexion réussie");
102
                            JOptionPane.showMessageDialog(GoogleDocsPreferencePanel.this, "Connexion réussie");
103
                        } catch (AuthenticationException e) {
103
                        } catch (AuthenticationException e) {
-
 
104
                            e.printStackTrace();
104
                            JOptionPane.showMessageDialog(GoogleDocsPreferencePanel.this, "Identifiant ou mot de passe invalide");
105
                            JOptionPane.showMessageDialog(GoogleDocsPreferencePanel.this, "Identifiant ou mot de passe invalide");
105
                        } catch (Throwable e1) {
106
                        } catch (Throwable e1) {
-
 
107
                            e1.printStackTrace();
106
                            JOptionPane.showMessageDialog(GoogleDocsPreferencePanel.this, e1.getMessage());
108
                            JOptionPane.showMessageDialog(GoogleDocsPreferencePanel.this, e1.getMessage());
107
                        }
109
                        }
108
                    }
110
                    }
109
                });
111
                });
110
                t.setDaemon(true);
112
                t.setDaemon(true);