From: <aki...@us...> - 2008-08-15 20:45:02
|
Revision: 4863 http://gridarta.svn.sourceforge.net/gridarta/?rev=4863&view=rev Author: akirschbaum Date: 2008-08-15 20:45:08 +0000 (Fri, 15 Aug 2008) Log Message: ----------- Improve error messages. Modified Paths: -------------- trunk/crossfire/src/cfeditor/gameobject/ArchetypeParser.java trunk/daimonin/src/daieditor/gameobject/ArchetypeParser.java Modified: trunk/crossfire/src/cfeditor/gameobject/ArchetypeParser.java =================================================================== --- trunk/crossfire/src/cfeditor/gameobject/ArchetypeParser.java 2008-08-15 20:38:31 UTC (rev 4862) +++ trunk/crossfire/src/cfeditor/gameobject/ArchetypeParser.java 2008-08-15 20:45:08 UTC (rev 4863) @@ -173,7 +173,7 @@ animText = null; } catch (final DuplicateAnimationException e) { // TODO: Report to the user - log.warn(ACTION_FACTORY.format("logDuplicateAnimation", e)); + log.warn(ACTION_FACTORY.format("logDuplicateAnimation", e.getDuplicate().getAnimName())); } archetype.addObjectText("animation " + archetype.getArchetypeName()); Modified: trunk/daimonin/src/daieditor/gameobject/ArchetypeParser.java =================================================================== --- trunk/daimonin/src/daieditor/gameobject/ArchetypeParser.java 2008-08-15 20:38:31 UTC (rev 4862) +++ trunk/daimonin/src/daieditor/gameobject/ArchetypeParser.java 2008-08-15 20:45:08 UTC (rev 4863) @@ -170,7 +170,7 @@ animText = null; } catch (final DuplicateAnimationException e) { // TODO: Report to the user - log.warn(ACTION_FACTORY.format("logDuplicateAnimation", e)); + log.warn(ACTION_FACTORY.format("logDuplicateAnimation", e.getDuplicate().getAnimName())); } archetype.addObjectText("animation " + archetype.getArchetypeName()); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |