From: Chad B. <cwb...@us...> - 2006-05-25 18:29:05
|
User: cwbrandon Date: 06/05/25 11:28:59 Modified: andromda-jsf/src/test/expected Tag: V3_x_HEAD cartridge-output.zip andromda-jsf/src/templates/jsf/flow Tag: V3_x_HEAD ViewPopulator.java.vsl Log: ignore exceptions when serializing/unserializing Revision Changes Path No revision No revision 1.2.2.59 +563 -582 cartridges/andromda-jsf/src/test/expected/cartridge-output.zip <<Binary file>> No revision No revision 1.6.4.6 +2 -6 cartridges/andromda-jsf/src/templates/jsf/flow/ViewPopulator.java.vsl Index: ViewPopulator.java.vsl =================================================================== RCS file: /cvsroot/andromda/cartridges/andromda-jsf/src/templates/jsf/flow/ViewPopulator.java.vsl,v retrieving revision 1.6.4.5 retrieving revision 1.6.4.6 diff -u -w -r1.6.4.5 -r1.6.4.6 --- ViewPopulator.java.vsl 25 May 2006 01:52:02 -0000 1.6.4.5 +++ ViewPopulator.java.vsl 25 May 2006 18:28:59 -0000 1.6.4.6 @@ -185,7 +185,7 @@ } catch (final Exception exception) { - exception.printStackTrace(); + // - ignore if we couldn't serialize the form. } } @@ -205,13 +205,9 @@ form = objectStream.readObject(); objectStream.close(); } - catch (java.io.FileNotFoundException exception) - { - // - ignore, just means the serialized form isn't present - } catch (final Exception exception) { - exception.printStackTrace(); + // - just ignore if we couldn't retrieve the serialized form } return form; } |