From: <pat...@us...> - 2009-01-05 17:54:26
|
Revision: 827 http://cishell.svn.sourceforge.net/cishell/?rev=827&view=rev Author: pataphil Date: 2009-01-05 17:54:22 +0000 (Mon, 05 Jan 2009) Log Message: ----------- Modified to actually log exceptions where appropriate. Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmWrapper.java Modified: trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmWrapper.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmWrapper.java 2009-01-02 17:59:21 UTC (rev 826) +++ trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmWrapper.java 2009-01-05 17:54:22 UTC (rev 827) @@ -176,7 +176,7 @@ outData = algorithm.execute(); } catch (AlgorithmExecutionException e) { log(LogService.LOG_ERROR, "The Algorithm: \"" + ref.getProperty(AlgorithmProperty.LABEL) - + "\" had an error while executing: " + e.getMessage()); + + "\" had an error while executing: " + e.getMessage(), e); } catch (RuntimeException e) { GUIBuilderService builder = (GUIBuilderService) ciContext.getService(GUIBuilderService.class.getName()); @@ -258,7 +258,7 @@ provider = new BasicMetaTypeProvider(ocd); } } catch (IllegalArgumentException e) { - log(LogService.LOG_DEBUG, pid + " has an invalid metatype id: " + metatypePID); + log(LogService.LOG_DEBUG, pid + " has an invalid metatype id: " + metatypePID, e); } catch (Exception e) { GUIBuilderService builder = (GUIBuilderService) ciContext.getService(GUIBuilderService.class.getName()); String errorMessage = "An error occurred while preparing to run the algorithm " This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |