Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@95651 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-05-13 16:21:30 +00:00
parent 8b792b4e6d
commit 09ffc448e4
1 changed files with 15 additions and 1 deletions

View File

@ -2209,6 +2209,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
if (task.getResult() != null) {
logger.debug("Task exception:"
+ task.getErrorCause());
task.getErrorCause().printStackTrace();
importMonitor.setError(task.getErrorCause());
} else {
logger.debug("Task exception: Error In Import");
@ -2603,6 +2604,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
if (task.getResult() != null) {
logger.debug("Task exception:"
+ task.getErrorCause());
task.getErrorCause().printStackTrace();
importMonitor.setError(task.getErrorCause());
} else {
logger.debug("Task exception: Error In Import");
@ -3253,6 +3255,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
if (task.getResult() != null) {
logger.debug("Task exception:"
+ task.getErrorCause());
task.getErrorCause().printStackTrace();
exportMonitor.setError(task.getErrorCause());
} else {
logger.debug("Task exception: Error In Export");
@ -3432,6 +3435,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
if (task.getResult() != null) {
logger.debug("Task exception:"
+ task.getErrorCause());
task.getErrorCause().printStackTrace();
exportMonitor.setError(new Throwable(task
.getErrorCause()));
} else {
@ -4073,8 +4077,9 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
switch (changeColumnTypeMonitor.getStatus()) {
case FAILED:
if (task.getResult() != null) {
logger.debug("Task exception:"
logger.debug("Task exception: "
+ task.getErrorCause());
task.getErrorCause().printStackTrace();
changeColumnTypeMonitor.setError(new Throwable(task
.getErrorCause()));
} else {
@ -4219,6 +4224,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
if (task.getResult() != null) {
logger.debug("Task exception:"
+ task.getErrorCause());
task.getErrorCause().printStackTrace();
deleteColumnMonitor.setError(new Throwable(task
.getErrorCause()));
} else {
@ -4364,6 +4370,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
if (task.getResult() != null) {
logger.debug("Task exception:"
+ task.getErrorCause());
task.getErrorCause().printStackTrace();
labelColumnMonitor.setError(new Throwable(task
.getErrorCause()));
} else {
@ -4509,6 +4516,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
if (task.getResult() != null) {
logger.debug("Task exception:"
+ task.getErrorCause());
task.getErrorCause().printStackTrace();
changeTableTypeMonitor.setError(new Throwable(task
.getErrorCause()));
} else {
@ -4768,6 +4776,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
if (task.getResult() != null) {
logger.debug("Task exception: "
+ task.getErrorCause());
task.getErrorCause().printStackTrace();
deleteRowsMonitor.setError(new Throwable(task
.getErrorCause()));
} else {
@ -4977,6 +4986,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
if (task.getResult() != null) {
logger.debug("Task exception:"
+ task.getErrorCause());
task.getErrorCause().printStackTrace();
duplicatesMonitor.setError(new Throwable(task
.getErrorCause()));
} else {
@ -5334,6 +5344,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
if (task.getResult() != null) {
logger.debug("Task exception:"
+ task.getErrorCause());
task.getErrorCause().printStackTrace();
templateApplyMonitor.setError(new Throwable(task
.getErrorCause()));
} else {
@ -5517,6 +5528,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
if (task.getResult() != null) {
logger.debug("Task exception:"
+ task.getErrorCause());
task.getErrorCause().printStackTrace();
replaceColumnMonitor.setError(new Throwable(task
.getErrorCause()));
} else {
@ -5669,6 +5681,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
if (task.getResult() != null) {
logger.debug("Task exception:"
+ task.getErrorCause());
task.getErrorCause().printStackTrace();
replaceBatchColumnMonitor.setError(new Throwable(
task.getErrorCause()));
} else {
@ -6129,6 +6142,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
if (task.getResult() != null) {
logger.debug("Task exception:"
+ task.getErrorCause());
task.getErrorCause().printStackTrace();
rollBackMonitor.setError(new Throwable(task
.getErrorCause()));
} else {