From: Astrid S. <ast...@us...> - 2007-04-06 15:30:19
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/maps/fado/hotel In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv31516/src/games/stendhal/server/maps/fado/hotel Modified Files: FileOp.java Log Message: replaced logger.fatal with logger.error move e.printStackTrace() into logger("text",e) Index: FileOp.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/maps/fado/hotel/FileOp.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FileOp.java 23 Mar 2007 20:56:47 -0000 1.2 --- FileOp.java 6 Apr 2007 15:30:14 -0000 1.3 *************** *** 64,68 **** } catch (FileNotFoundException fnfe) { ! fnfe.printStackTrace(); return null; //returns null if file does not exist } --- 64,68 ---- } catch (FileNotFoundException fnfe) { ! logger.error("File not found: " + fileToRead,fnfe); return null; //returns null if file does not exist } |