Refs #21729: Investigate errors generated in the Root scope

Disabled Spaces in root
This commit is contained in:
Giancarlo Panichi 2021-06-30 16:33:53 +02:00
parent d1ef570b36
commit 52e093ea22
1 changed files with 12 additions and 20 deletions

View File

@ -97,7 +97,7 @@ public class AccountingManagerServiceImpl extends RemoteServiceServlet
throw e;
} catch (Throwable e) {
logger.error("Hello(): " + e.getLocalizedMessage(), e);
throw new ServiceException(e.getLocalizedMessage());
throw new ServiceException(e.getLocalizedMessage(),e);
}
}
@ -130,9 +130,8 @@ public class AccountingManagerServiceImpl extends RemoteServiceServlet
e.printStackTrace();
throw e;
} catch (Throwable e) {
e.printStackTrace();
logger.error("getEnableTabs(): " + e.getLocalizedMessage(), e);
throw new ServiceException(e.getLocalizedMessage());
throw new ServiceException(e.getLocalizedMessage(),e);
}
}
@ -153,10 +152,9 @@ public class AccountingManagerServiceImpl extends RemoteServiceServlet
e.printStackTrace();
throw e;
} catch (Throwable e) {
e.printStackTrace();
logger.error(
"getClientMonitorTimeout(): " + e.getLocalizedMessage(), e);
throw new ServiceException(e.getLocalizedMessage());
throw new ServiceException(e.getLocalizedMessage(),e);
}
}
@ -202,7 +200,7 @@ public class AccountingManagerServiceImpl extends RemoteServiceServlet
throw e;
} catch (Throwable e) {
logger.error("getSeries(): " + e.getLocalizedMessage(), e);
throw new ServiceException(e.getLocalizedMessage());
throw new ServiceException(e.getLocalizedMessage(),e);
}
}
@ -249,7 +247,7 @@ public class AccountingManagerServiceImpl extends RemoteServiceServlet
throw e;
} catch (Throwable e) {
logger.error("getSeries(): " + e.getLocalizedMessage(), e);
throw new ServiceException(e.getLocalizedMessage());
throw new ServiceException(e.getLocalizedMessage(),e);
}
}
@ -301,7 +299,7 @@ public class AccountingManagerServiceImpl extends RemoteServiceServlet
throw e;
} catch (Throwable e) {
logger.error("Operation Monitor(): " + e.getLocalizedMessage(), e);
throw new ServiceException(e.getLocalizedMessage());
throw new ServiceException(e.getLocalizedMessage(),e);
}
}
@ -331,9 +329,8 @@ public class AccountingManagerServiceImpl extends RemoteServiceServlet
e.printStackTrace();
throw e;
} catch (Throwable e) {
e.printStackTrace();
logger.error("getFilterKeys(): " + e.getLocalizedMessage(), e);
throw new ServiceException(e.getLocalizedMessage());
throw new ServiceException(e.getLocalizedMessage(),e);
}
}
@ -391,9 +388,8 @@ public class AccountingManagerServiceImpl extends RemoteServiceServlet
e.printStackTrace();
throw e;
} catch (Throwable e) {
e.printStackTrace();
logger.error("getFilterValues(): " + e.getLocalizedMessage(), e);
throw new ServiceException(e.getLocalizedMessage());
throw new ServiceException(e.getLocalizedMessage(),e);
}
}
@ -424,9 +420,8 @@ public class AccountingManagerServiceImpl extends RemoteServiceServlet
e.printStackTrace();
throw e;
} catch (Throwable e) {
e.printStackTrace();
logger.error("getCategories(): " + e.getLocalizedMessage(), e);
throw new ServiceException(e.getLocalizedMessage());
throw new ServiceException(e.getLocalizedMessage(),e);
}
}
@ -450,9 +445,8 @@ public class AccountingManagerServiceImpl extends RemoteServiceServlet
e.printStackTrace();
throw e;
} catch (Throwable e) {
e.printStackTrace();
logger.error("getContext(): " + e.getLocalizedMessage(), e);
throw new ServiceException(e.getLocalizedMessage());
throw new ServiceException(e.getLocalizedMessage(),e);
}
}
@ -485,9 +479,8 @@ public class AccountingManagerServiceImpl extends RemoteServiceServlet
e.printStackTrace();
throw e;
} catch (Throwable e) {
e.printStackTrace();
logger.error("isRoot(): " + e.getLocalizedMessage(), e);
throw new ServiceException(e.getLocalizedMessage());
logger.error("isRootScope(): " + e.getLocalizedMessage(), e);
throw new ServiceException(e.getLocalizedMessage(),e);
}
}
@ -522,7 +515,6 @@ public class AccountingManagerServiceImpl extends RemoteServiceServlet
throw e;
} catch (Throwable e) {
logger.error("SaveDataOnWorkspace(): " + e.getLocalizedMessage(), e);
e.printStackTrace();
throw new ServiceException(e.getLocalizedMessage(), e);
}
}