From 51fc34e5781ffadfef73985e3fdb54a85713dcf9 Mon Sep 17 00:00:00 2001 From: Diogo Neves Date: Thu, 26 Aug 2010 15:46:20 +0000 Subject: [PATCH] git-svn-id: https://svn.coded.pt/svn/SIPRP@1437 bb69d46d-e84e-40c8-a05a-06db0d633741 --- .../ViewAnaliseAcidenteTrabalho.java | 36 +++++++++++-------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/trunk/AnaliseAcidentesTrabalho/src/java/analiseacidentestrabalho/ViewAnaliseAcidenteTrabalho.java b/trunk/AnaliseAcidentesTrabalho/src/java/analiseacidentestrabalho/ViewAnaliseAcidenteTrabalho.java index e79722a7..5a21af24 100644 --- a/trunk/AnaliseAcidentesTrabalho/src/java/analiseacidentestrabalho/ViewAnaliseAcidenteTrabalho.java +++ b/trunk/AnaliseAcidentesTrabalho/src/java/analiseacidentestrabalho/ViewAnaliseAcidenteTrabalho.java @@ -2517,7 +2517,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { } catch ( Exception ex ) { - ErrorLogger.logException( ex ); +// ErrorLogger.logException( ex ); } } @@ -2557,7 +2557,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { } catch ( Exception ex ) { - ErrorLogger.logException( ex ); +// ErrorLogger.logException( ex ); } stBI.setText(a.getBilhete_identidade()); stMorada.setText(a.getMorada()); @@ -2567,12 +2567,18 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { { cod_postal1 = a.getCod_postal().substring(0, 4); } - catch(Exception ex){} + catch(Exception ex) + { + + } try { cod_postal2 = a.getCod_postal().substring(5, 8); } - catch(Exception ex){} + catch(Exception ex) + { + + } //String cod_postal1 = a.getCod_postal().substring(0, 4); //String cod_postal2 = a.getCod_postal().substring(5, 8); @@ -2587,7 +2593,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { } catch(Exception ex) { - ErrorLogger.logException( ex ); +// ErrorLogger.logException( ex ); } stFuncao.setText(a.getFuncao()); String turno_str = ""; @@ -3553,7 +3559,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { } catch(Exception ex) { - ErrorLogger.logException( ex ); +// ErrorLogger.logException( ex ); } pg.getChildren().add(st); } @@ -3578,7 +3584,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { } catch(Exception ex) { - ErrorLogger.logException( ex ); +// ErrorLogger.logException( ex ); } pg.getChildren().add(st); } @@ -3609,7 +3615,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { } catch(Exception ex) { - ErrorLogger.logException( ex ); +// ErrorLogger.logException( ex ); } pg.getChildren().add(st); st = new StaticText(); @@ -3629,7 +3635,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { } catch(Exception ex) { - ErrorLogger.logException( ex ); +// ErrorLogger.logException( ex ); } pg.getChildren().add(st); gridIncapacidade.getChildren().add(pg); @@ -4210,7 +4216,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { } catch(Exception ex) { - ErrorLogger.logException( ex ); +// ErrorLogger.logException( ex ); } st.setText(txtVer); gridAssinaturasView.getChildren().add(st); @@ -4231,7 +4237,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { } catch(Exception ex) { - ErrorLogger.logException( ex ); +// ErrorLogger.logException( ex ); } st.setText(txtVer); gridAssinaturasView.getChildren().add(st); @@ -4251,7 +4257,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { } catch(Exception ex) { - ErrorLogger.logException( ex ); +// ErrorLogger.logException( ex ); } st.setText(txtVer); gridAssinaturasView.getChildren().add(st); @@ -4271,7 +4277,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { } catch(Exception ex) { - ErrorLogger.logException( ex ); +// ErrorLogger.logException( ex ); } st.setText(txtVer); gridAssinaturasView.getChildren().add(st); @@ -4301,7 +4307,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { } catch(Exception ex) { - ErrorLogger.logException( ex ); +// ErrorLogger.logException( ex ); } } } @@ -4342,7 +4348,7 @@ public class ViewAnaliseAcidenteTrabalho extends AbstractPageBean { } catch(Exception ex) { - ErrorLogger.logException( ex ); +// ErrorLogger.logException( ex ); } String txt = "Assinado na Ficha de Análise de Acidente em papel por " + a.getNome_superior() + ", superior hierárquico / superior de ";