|
|
|
@ -3516,7 +3516,7 @@ public class ApplicationManagerImpl implements ApplicationManager {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public <T> void validateAppCreatingRequest(T param)
|
|
|
|
|
throws ApplicationManagementException, RequestValidatingException, MetadataManagementException {
|
|
|
|
|
throws ApplicationManagementException, RequestValidatingException {
|
|
|
|
|
int tenantId = PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantId(true);
|
|
|
|
|
String userName = PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername();
|
|
|
|
|
int deviceTypeId = -1;
|
|
|
|
@ -3751,7 +3751,7 @@ public class ApplicationManagerImpl implements ApplicationManager {
|
|
|
|
|
} catch (MetadataManagementException e) {
|
|
|
|
|
String msg = "Error occurred while retrieving metadata list";
|
|
|
|
|
log.error(msg, e);
|
|
|
|
|
throw new MetadataManagementException(msg, e);
|
|
|
|
|
throw new ApplicationManagementException(msg, e);
|
|
|
|
|
} finally {
|
|
|
|
|
ConnectionManagerUtil.closeDBConnection();
|
|
|
|
|
}
|
|
|
|
|