From d68ba422e082d087ea113fe0a6e5e6ef01744964 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Thu, 28 Nov 2013 13:42:06 +0000 Subject: [PATCH] Updated Client Library git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@86320 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../user/td/gwtservice/server/TDGWTServiceImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java index 7fdf89b..26847eb 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java @@ -674,9 +674,9 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements case FAILED: if (task.getResult() != null) { logger.debug("Task exception:" - + task.getErrorMessage()); + + task.getErrorCause()); importMonitor - .setError(new Throwable(task.getErrorMessage())); + .setError(task.getErrorCause()); } else { logger.debug("Task exception: Error In Import"); importMonitor.setError(new Throwable( @@ -1019,9 +1019,9 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements case FAILED: if (task.getResult() != null) { logger.debug("Task exception:" - + task.getErrorMessage()); + + task.getErrorCause()); importMonitor - .setError(new Throwable(task.getErrorMessage())); + .setError(new Throwable(task.getErrorCause())); } else { logger.debug("Task exception: Error In Import"); importMonitor.setError(new Throwable(