//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public static ProjectServerDBUtil createNewProject(Desktop.common.nomitech.common.db.local.ProjectUrlTable paramProjectUrlTable, java.util.Properties paramProperties) throws Exception public static ProjectServerDBUtil createNewProject(ProjectUrlTable paramProjectUrlTable, Properties paramProperties) { ProjectServerDBUtil projectServerDBUtil = new ProjectServerDBUtil(paramProjectUrlTable, paramProperties); s_utilInstanceMap[projectServerDBUtil.UniqueId] = projectServerDBUtil; return(projectServerDBUtil); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public static ProjectDBUtil openProjectFromUrl(Desktop.common.nomitech.common.db.local.ProjectUrlTable paramProjectUrlTable, Desktop.common.nomitech.common.base.ProjectGroupCodesProviderFactory paramProjectGroupCodesProviderFactory) throws Exception public static ProjectDBUtil openProjectFromUrl(ProjectUrlTable paramProjectUrlTable, ProjectGroupCodesProviderFactory paramProjectGroupCodesProviderFactory) { if (paramProjectUrlTable.Dbms.Equals(Convert.ToInt32(CEP_FILE))) { return(openProjectFromFile(new File(paramProjectUrlTable.Url), paramProjectUrlTable, paramProjectGroupCodesProviderFactory)); } ProjectServerDBUtil projectServerDBUtil = (ProjectServerDBUtil)s_utilInstanceMap[paramProjectUrlTable.Url + ";" + paramProjectUrlTable.Id]; if (projectServerDBUtil == null || !projectServerDBUtil.DBLoaded) { projectServerDBUtil = new ProjectServerDBUtil(paramProjectUrlTable, paramProjectGroupCodesProviderFactory); s_utilInstanceMap[projectServerDBUtil.UniqueId] = projectServerDBUtil; return(projectServerDBUtil); } throw new ProjectDBException(); }
public RunnableAnonymousInnerClass2(ProjectServerDBUtil outerInstance) { this.outerInstance = outerInstance; }