Bonjour à tous,
je rencontre des difficultés à la compréhension d'une erreur :
L'application est fonctionnelle sur mon poste de dev ainsi que sur d'autres postes.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 try { FichierExcel excel1 = new FichierExcel(jTextFieldNumAnnexe.getText()); } catch (Exception e) { e.printStackTrace(); JOptionPane.showMessageDialog(rootPane, "Erreur ! 630)"); }
Mais le poste en question rencontre l'erreur 630 (personnalisée par mes soins)
J'aimerais avoir votre avis sur les raisons d'un tel passage dans le catch ... svp ?
pour aide, la fonction FichierExcel :
la variable chemin contient :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 public FichierExcel(String numAnnexe) throws FileNotFoundException, IOException, BiffException, WriteException { ws = new WorkbookSettings(); ws.setEncoding("CP1250"); ws.setLocale ( new Locale("FR")) ; fichier = Utilitaire.lienApplication()+"Plan/Plan.xml"; ips = new FileInputStream(fichier); ipsr = new InputStreamReader(ips); br = new BufferedReader(ipsr); chemin = br.readLine(); br.close(); skull = Workbook.getWorkbook(new File(chemin+"/PlanDePrevention.xls"), ws); workbook = Workbook.createWorkbook(new File(chemin+"/PlanDePrevention"+numAnnexe+".xls"), skull); sheet = workbook.getSheet(0); co = numAnnexe; }
[LaRacineAbsolueDuServer]/Plan
Partager