From: <mwl...@us...> - 2008-06-11 15:45:00
|
Revision: 779 http://cishell.svn.sourceforge.net/cishell/?rev=779&view=rev Author: mwlinnem Date: 2008-06-11 08:41:49 -0700 (Wed, 11 Jun 2008) Log Message: ----------- Changed error handling so more informative message is shown. Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.datamanager/META-INF/MANIFEST.MF trunk/clients/gui/org.cishell.reference.gui.datamanager/src/org/cishell/reference/gui/datamanager/AbstractDataManagerView.java Modified: trunk/clients/gui/org.cishell.reference.gui.datamanager/META-INF/MANIFEST.MF =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.datamanager/META-INF/MANIFEST.MF 2008-05-09 14:14:22 UTC (rev 778) +++ trunk/clients/gui/org.cishell.reference.gui.datamanager/META-INF/MANIFEST.MF 2008-06-11 15:41:49 UTC (rev 779) @@ -10,7 +10,9 @@ org.cishell.framework;version="1.0.0", org.cishell.framework.algorithm;version="1.0.0", org.cishell.framework.data;version="1.0.0", + org.cishell.reference.gui.datamanager, org.cishell.reference.gui.workspace, + org.cishell.service.guibuilder;version="1.0.0", org.osgi.service.log;version="1.3.0" Export-Package: org.cishell.reference.gui.datamanager Bundle-ActivationPolicy: lazy Modified: trunk/clients/gui/org.cishell.reference.gui.datamanager/src/org/cishell/reference/gui/datamanager/AbstractDataManagerView.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.datamanager/src/org/cishell/reference/gui/datamanager/AbstractDataManagerView.java 2008-05-09 14:14:22 UTC (rev 778) +++ trunk/clients/gui/org.cishell.reference.gui.datamanager/src/org/cishell/reference/gui/datamanager/AbstractDataManagerView.java 2008-06-11 15:41:49 UTC (rev 779) @@ -502,14 +502,16 @@ }catch (AlgorithmExecutionException aee) { if (log != null) { log.log(LogService.LOG_ERROR, - "org.cishell.framework.algorithm.AlgorithmExecutionException", + aee.getMessage(), aee); + aee.printStackTrace(); } else { log = Activator.getLogService(); log.log(LogService.LOG_ERROR, "org.cishell.framework.algorithm.AlgorithmExecutionException", aee); + aee.printStackTrace(); } } } @@ -528,16 +530,17 @@ algorithm.execute(); }catch (AlgorithmExecutionException aee) { if (log != null) { - log.log(LogService.LOG_ERROR, - "org.cishell.framework.algorithm.AlgorithmExecutionException", + log.log(LogService.LOG_ERROR, + aee.getMessage(), aee); } else { log = Activator.getLogService(); - log.log(LogService.LOG_ERROR, - "org.cishell.framework.algorithm.AlgorithmExecutionException", + log.log(LogService.LOG_ERROR, + aee.getMessage(), aee); } + aee.printStackTrace(); } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |