You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2010/02/17 16:57:35 UTC
svn commit: r911029 [1/19] - in /incubator/lcf/trunk:
modules/connectors/documentum/connector/org/apache/lcf/crawler/authorities/DCTM/
modules/connectors/documentum/connector/org/apache/lcf/crawler/connectors/DCTM/
modules/connectors/documentum/crawler...
Author: kwright
Date: Wed Feb 17 15:57:27 2010
New Revision: 911029
URL: http://svn.apache.org/viewvc?rev=911029&view=rev
Log:
Get Metacarta out of class names across the board.
Added:
incubator/lcf/trunk/modules/connectors/memex/connector/org/apache/lcf/crawler/connectors/memex/LCFMemexConnection.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/system/LCF.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/LCFException.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/system/LCF.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/system/LCF.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/LCF.java
Removed:
incubator/lcf/trunk/modules/connectors/memex/connector/org/apache/lcf/crawler/connectors/memex/MetacartaMemexConnection.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/system/Metacarta.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/MetacartaException.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/system/Metacarta.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/system/Metacarta.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/Metacarta.java
Modified:
incubator/lcf/trunk/modules/connectors/documentum/connector/org/apache/lcf/crawler/authorities/DCTM/AuthorityConnector.java
incubator/lcf/trunk/modules/connectors/documentum/connector/org/apache/lcf/crawler/connectors/DCTM/DCTM.java
incubator/lcf/trunk/modules/connectors/documentum/connector/org/apache/lcf/crawler/connectors/DCTM/MatchMap.java
incubator/lcf/trunk/modules/connectors/documentum/crawler-ui/connectors/DCTM/editspec.jsp
incubator/lcf/trunk/modules/connectors/filenet/connector/org/apache/lcf/crawler/connectors/filenet/FilenetConnector.java
incubator/lcf/trunk/modules/connectors/filenet/crawler-ui/connectors/filenet/editspec.jsp
incubator/lcf/trunk/modules/connectors/filesystem/connector/org/apache/lcf/crawler/connectors/filesystem/FileConnector.java
incubator/lcf/trunk/modules/connectors/gts/connector/org/apache/lcf/agents/output/gts/GTSConnector.java
incubator/lcf/trunk/modules/connectors/gts/connector/org/apache/lcf/agents/output/gts/HttpPoster.java
incubator/lcf/trunk/modules/connectors/jcifs/connector/org/apache/lcf/crawler/connectors/sharedrive/GetConnectionInfo.java
incubator/lcf/trunk/modules/connectors/jcifs/connector/org/apache/lcf/crawler/connectors/sharedrive/MatchMap.java
incubator/lcf/trunk/modules/connectors/jcifs/connector/org/apache/lcf/crawler/connectors/sharedrive/SharedDriveConnector.java
incubator/lcf/trunk/modules/connectors/jcifs/connector/org/apache/lcf/crawler/connectors/sharedrive/SharedDriveHelpers.java
incubator/lcf/trunk/modules/connectors/jcifs/crawler-ui/connectors/sharedrive/editspec.jsp
incubator/lcf/trunk/modules/connectors/jcifs/crawler-ui/connectors/sharedrive/postspec.jsp
incubator/lcf/trunk/modules/connectors/jdbc/connector/org/apache/lcf/crawler/connectors/jdbc/IDynamicResultSet.java
incubator/lcf/trunk/modules/connectors/jdbc/connector/org/apache/lcf/crawler/connectors/jdbc/JDBCConnection.java
incubator/lcf/trunk/modules/connectors/jdbc/connector/org/apache/lcf/crawler/connectors/jdbc/JDBCConnectionFactory.java
incubator/lcf/trunk/modules/connectors/jdbc/connector/org/apache/lcf/crawler/connectors/jdbc/JDBCConnector.java
incubator/lcf/trunk/modules/connectors/livelink/connector/org/apache/lcf/crawler/connectors/livelink/GetConnectionInfo.java
incubator/lcf/trunk/modules/connectors/livelink/connector/org/apache/lcf/crawler/connectors/livelink/LivelinkAuthority.java
incubator/lcf/trunk/modules/connectors/livelink/connector/org/apache/lcf/crawler/connectors/livelink/LivelinkConnector.java
incubator/lcf/trunk/modules/connectors/livelink/connector/org/apache/lcf/crawler/connectors/livelink/MatchMap.java
incubator/lcf/trunk/modules/connectors/livelink/crawler-ui/connectors/livelink/editspec.jsp
incubator/lcf/trunk/modules/connectors/lucene/connector/org/apache/lcf/agents/output/lucene/HttpPoster.java
incubator/lcf/trunk/modules/connectors/lucene/connector/org/apache/lcf/agents/output/lucene/LuceneConnector.java
incubator/lcf/trunk/modules/connectors/memex/connector/org/apache/lcf/crawler/connectors/memex/LogicalServer.java
incubator/lcf/trunk/modules/connectors/memex/connector/org/apache/lcf/crawler/connectors/memex/MemexAuthority.java
incubator/lcf/trunk/modules/connectors/memex/connector/org/apache/lcf/crawler/connectors/memex/MemexConnector.java
incubator/lcf/trunk/modules/connectors/memex/crawler-ui/connectors/memex/editspec.jsp
incubator/lcf/trunk/modules/connectors/meridio/connector/org/apache/lcf/crawler/connectors/meridio/MeridioAuthority.java
incubator/lcf/trunk/modules/connectors/meridio/connector/org/apache/lcf/crawler/connectors/meridio/MeridioConnector.java
incubator/lcf/trunk/modules/connectors/meridio/connector/org/apache/lcf/crawler/connectors/meridio/meridiowrapper/MeridioWrapper.java
incubator/lcf/trunk/modules/connectors/meridio/crawler-ui/connectors/meridio/editspec.jsp
incubator/lcf/trunk/modules/connectors/nulloutput/connector/org/apache/lcf/agents/output/nullconnector/NullConnector.java
incubator/lcf/trunk/modules/connectors/rss/connector/org/apache/lcf/crawler/connectors/rss/DataCache.java
incubator/lcf/trunk/modules/connectors/rss/connector/org/apache/lcf/crawler/connectors/rss/GetSeedList.java
incubator/lcf/trunk/modules/connectors/rss/connector/org/apache/lcf/crawler/connectors/rss/IThrottledConnection.java
incubator/lcf/trunk/modules/connectors/rss/connector/org/apache/lcf/crawler/connectors/rss/RSSConnector.java
incubator/lcf/trunk/modules/connectors/rss/connector/org/apache/lcf/crawler/connectors/rss/Robots.java
incubator/lcf/trunk/modules/connectors/rss/connector/org/apache/lcf/crawler/connectors/rss/SetSeedList.java
incubator/lcf/trunk/modules/connectors/rss/connector/org/apache/lcf/crawler/connectors/rss/ThrottledFetcher.java
incubator/lcf/trunk/modules/connectors/rss/crawler-ui/connectors/rss/postspec.jsp
incubator/lcf/trunk/modules/connectors/sharepoint/connector/org/apache/lcf/crawler/connectors/sharepoint/MatchMap.java
incubator/lcf/trunk/modules/connectors/sharepoint/connector/org/apache/lcf/crawler/connectors/sharepoint/SPSProxyHelper.java
incubator/lcf/trunk/modules/connectors/sharepoint/connector/org/apache/lcf/crawler/connectors/sharepoint/SharePointRepository.java
incubator/lcf/trunk/modules/connectors/sharepoint/crawler-ui/connectors/sharepoint/editspec.jsp
incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/lcf/crawler/connectors/webcrawler/CookieManager.java
incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/lcf/crawler/connectors/webcrawler/CredentialsDescription.java
incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/lcf/crawler/connectors/webcrawler/DNSManager.java
incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/lcf/crawler/connectors/webcrawler/DataCache.java
incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/lcf/crawler/connectors/webcrawler/IThrottledConnection.java
incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/lcf/crawler/connectors/webcrawler/PageCredentials.java
incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/lcf/crawler/connectors/webcrawler/RobotsManager.java
incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/lcf/crawler/connectors/webcrawler/SequenceCredentials.java
incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/lcf/crawler/connectors/webcrawler/ThrottleDescription.java
incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/lcf/crawler/connectors/webcrawler/ThrottledFetcher.java
incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/lcf/crawler/connectors/webcrawler/TrustsDescription.java
incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/lcf/crawler/connectors/webcrawler/WebcrawlerConnector.java
incubator/lcf/trunk/modules/connectors/webcrawler/crawler-ui/connectors/webcrawler/editconfig.jsp
incubator/lcf/trunk/modules/connectors/webcrawler/crawler-ui/connectors/webcrawler/postconfig.jsp
incubator/lcf/trunk/modules/connectors/webcrawler/crawler-ui/connectors/webcrawler/viewspec.jsp
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/AgentRun.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/AgentStop.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/Install.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/Register.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/RegisterOutput.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/SetupAgentConnection.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/SynchronizeAll.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/SynchronizeOutputs.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/UnRegister.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/UnRegisterAll.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/UnRegisterAllOutputs.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/UnRegisterOutput.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/Uninstall.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/agentmanager/AgentManager.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/common/XMLContext.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/common/XMLFileContext.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/common/XMLOutputStreamContext.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/common/XMLStream.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/common/XMLStringContext.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/common/XMLWriterContext.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/incrementalingest/IncrementalIngester.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/interfaces/AgentFactory.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/interfaces/AgentManagerFactory.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/interfaces/IAgent.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/interfaces/IAgentManager.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/interfaces/IIncrementalIngester.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/interfaces/IIngestLogger.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/interfaces/IOutputAddActivity.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/interfaces/IOutputConnectionManager.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/interfaces/IOutputConnector.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/interfaces/IOutputConnectorManager.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/interfaces/IOutputHistoryActivity.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/interfaces/IncrementalIngesterFactory.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/interfaces/OutputConnectionManagerFactory.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/interfaces/OutputConnectorFactory.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/interfaces/OutputConnectorManagerFactory.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/interfaces/OutputSpecification.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/interfaces/RepositoryDocument.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/output/BaseOutputConnector.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/outputconnection/OutputConnectionManager.java
incubator/lcf/trunk/modules/framework/agents/org/apache/lcf/agents/outputconnmgr/OutputConnectorManager.java
incubator/lcf/trunk/modules/framework/authority-webapp/org/apache/lcf/authorityservice/servlet/UserACLServlet.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/DBCreate.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/DBDrop.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/LockClean.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/Obfuscate.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/cachemanager/CacheManager.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/common/Base64.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/common/XMLDoc.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/database/BaseTable.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/database/ConnectionFactory.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/database/DBInterfaceMySQL.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/database/DBInterfacePostgreSQL.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/database/Database.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/database/TransactionHandle.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/BinaryInput.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/CacheManagerFactory.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/CharacterInput.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/ConfigParams.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/DBInterfaceFactory.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/DatabaseFactory.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/ICacheExecutor.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/ICacheManager.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/IDBInterface.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/IDFactory.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/IDatabase.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/IKeystoreManager.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/ILimitChecker.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/ILockManager.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/KeystoreManagerFactory.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/LockManagerFactory.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/Specification.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/TempFileCharacterInput.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/TempFileInput.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/keystore/KeystoreManager.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/lockmanager/LockManager.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/lockmanager/LockObject.java
incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/system/Logging.java
incubator/lcf/trunk/modules/framework/crawler-ui/adminDefaults.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/adminHeaders.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/documentstatus.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/editauthority.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/editconnection.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/editjob.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/editoutput.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/execute.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/listauthorities.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/listconnections.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/listjobs.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/listoutputs.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/maxactivityreport.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/maxbandwidthreport.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/queuestatus.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/resultreport.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/showjobstatus.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/simplereport.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/viewauthority.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/viewconnection.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/viewjob.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/viewoutput.jsp
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/CheckAll.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/RegisterAuthority.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/ResetAll.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/SynchronizeAuthorities.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/UnRegisterAllAuthorities.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/UnRegisterAuthority.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/authconnmgr/AuthorityConnectorManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/authorities/BaseAuthorityConnector.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/authority/AuthorityConnectionManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/interfaces/AuthorityConnectionManagerFactory.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/interfaces/AuthorityConnectorFactory.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/interfaces/AuthorityConnectorManagerFactory.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/interfaces/IAuthorityConnectionManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/interfaces/IAuthorityConnector.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/interfaces/IAuthorityConnectorManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/system/AuthCheckThread.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/authorities/system/IdleCleanupThread.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/ExportConfiguration.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/FindJob.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/GetJobSchedule.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/ImportConfiguration.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/ListJobStatuses.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/ListJobs.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/Register.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/RunDocumentStatus.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/RunMaxActivityHistory.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/RunMaxBandwidthHistory.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/RunQueueStatus.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/RunResultHistory.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/RunSimpleHistory.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/SynchronizeConnectors.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/UnRegister.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/UnRegisterAll.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/connectors/BaseRepositoryConnector.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/connmgr/ConnectorManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/interfaces/ConnectorManagerFactory.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/interfaces/DocumentSpecification.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/interfaces/IAbortActivity.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/interfaces/IConnectorManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/interfaces/IDocumentIdentifierStream.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/interfaces/IEventActivity.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/interfaces/IHistoryActivity.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/interfaces/IJobManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/interfaces/IProcessActivity.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/interfaces/IRepositoryConnectionManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/interfaces/IRepositoryConnector.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/interfaces/ISeedingActivity.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/interfaces/IVersionActivity.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/interfaces/JobManagerFactory.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/interfaces/RepositoryConnectionManagerFactory.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/interfaces/RepositoryConnectorFactory.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/interfaces/SortOrder.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/jobs/Carrydown.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/jobs/EventManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/jobs/HopCount.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/jobs/HopDeleteDeps.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/jobs/HopFilterManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/jobs/IntrinsicLink.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/jobs/JobManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/jobs/JobQueue.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/jobs/Jobs.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/jobs/PrereqEventManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/jobs/ScheduleManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/repository/RepositoryConnectionManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/repository/RepositoryHistoryManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/repository/ThrottleSpecManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/CrawlerAgent.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/DocDeleteResetManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/DocumentDeleteStufferThread.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/DocumentDeleteThread.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/ExpireStufferThread.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/ExpireThread.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/FinisherThread.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/IdleCleanupThread.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/JobDeleteThread.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/JobResetThread.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/JobStartThread.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/ResetManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/SeedingActivity.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/SeedingThread.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/SetPriorityThread.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/StartupThread.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/StufferThread.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/WorkerResetManager.java
incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/WorkerThread.java
incubator/lcf/trunk/modules/framework/tests/ThreadLockSpinner.java
incubator/lcf/trunk/modules/framework/tests/UILockSpinner.java
incubator/lcf/trunk/modules/framework/ui-core/org/apache/lcf/ui/beans/AdminProfile.java
incubator/lcf/trunk/modules/framework/ui-core/org/apache/lcf/ui/multipart/MultipartWrapper.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/authorities/ChangeAuthSpec.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/authorities/CheckConfigured.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/authorities/DefineAuthorityConnection.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/authorities/DeleteAuthorityConnection.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/authorities/ResetAll.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/AbortJob.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/AddScheduledTime.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/ChangeJobDocSpec.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/CheckConfigured.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DefineJob.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DefineOutputConnection.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DefineRepositoryConnection.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DeleteJob.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DeleteOutputConnection.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/DeleteRepositoryConnection.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/JobStartSpinner.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/PauseJob.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/ResetAll.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/RestartJob.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/StartJob.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/WaitForJobDeleted.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/WaitForJobInactive.java
incubator/lcf/trunk/tests/crawler-testing-package/org/apache/lcf/crawler/WaitJobPaused.java
incubator/lcf/trunk/tests/jdbc-testing-package/org/apache/lcf/crawler/connectors/jdbc/AddDoc.java
incubator/lcf/trunk/tests/jdbc-testing-package/org/apache/lcf/crawler/connectors/jdbc/LookupDoc.java
incubator/lcf/trunk/tests/jdbc-testing-package/org/apache/lcf/crawler/connectors/jdbc/RemoveDoc.java
incubator/lcf/trunk/tests/jdbc-testing-package/org/apache/lcf/crawler/connectors/jdbc/UpdateDoc.java
incubator/lcf/trunk/tests/livelink-testing-package/org/apache/lcf/crawler/connectors/livelink/AddDoc.java
incubator/lcf/trunk/tests/livelink-testing-package/org/apache/lcf/crawler/connectors/livelink/AddDocRights.java
incubator/lcf/trunk/tests/livelink-testing-package/org/apache/lcf/crawler/connectors/livelink/LiveLinkSupport.java
incubator/lcf/trunk/tests/livelink-testing-package/org/apache/lcf/crawler/connectors/livelink/LookupDoc.java
incubator/lcf/trunk/tests/livelink-testing-package/org/apache/lcf/crawler/connectors/livelink/RemoveDoc.java
incubator/lcf/trunk/tests/livelink-testing-package/org/apache/lcf/crawler/connectors/livelink/SetMetadataValue.java
incubator/lcf/trunk/tests/livelink-testing-package/org/apache/lcf/crawler/connectors/livelink/VersionDoc.java
incubator/lcf/trunk/tests/memex-testing-package/org/apache/lcf/crawler/connectors/memex/AddRecord.java
incubator/lcf/trunk/tests/memex-testing-package/org/apache/lcf/crawler/connectors/memex/LookupRecord.java
incubator/lcf/trunk/tests/memex-testing-package/org/apache/lcf/crawler/connectors/memex/MemexSupport.java
incubator/lcf/trunk/tests/memex-testing-package/org/apache/lcf/crawler/connectors/memex/ModifyRecord.java
incubator/lcf/trunk/tests/memex-testing-package/org/apache/lcf/crawler/connectors/memex/RemoveRecord.java
incubator/lcf/trunk/tests/memex-testing-package/org/apache/lcf/crawler/connectors/memex/SetRecordSecurity.java
incubator/lcf/trunk/tests/meridio-testing-package/org/apache/lcf/crawler/connectors/meridio/AddDocMultiple.java
incubator/lcf/trunk/tests/meridio-testing-package/org/apache/lcf/crawler/connectors/meridio/AddRecMultiple.java
incubator/lcf/trunk/tests/sharepoint-testing-package/org/apache/lcf/crawler/connectors/sharepoint/AddDoc.java
incubator/lcf/trunk/tests/sharepoint-testing-package/org/apache/lcf/crawler/connectors/sharepoint/AddUserToLibrary.java
incubator/lcf/trunk/tests/sharepoint-testing-package/org/apache/lcf/crawler/connectors/sharepoint/AddUserToSite.java
incubator/lcf/trunk/tests/sharepoint-testing-package/org/apache/lcf/crawler/connectors/sharepoint/FPSEPublish.java
incubator/lcf/trunk/tests/sharepoint-testing-package/org/apache/lcf/crawler/connectors/sharepoint/RemoveDoc.java
incubator/lcf/trunk/tests/sharepoint-testing-package/org/apache/lcf/crawler/connectors/sharepoint/RemoveUserFromLibrary.java
incubator/lcf/trunk/tests/sharepoint-testing-package/org/apache/lcf/crawler/connectors/sharepoint/RemoveUserFromSite.java
Modified: incubator/lcf/trunk/modules/connectors/documentum/connector/org/apache/lcf/crawler/authorities/DCTM/AuthorityConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/documentum/connector/org/apache/lcf/crawler/authorities/DCTM/AuthorityConnector.java?rev=911029&r1=911028&r2=911029&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/documentum/connector/org/apache/lcf/crawler/authorities/DCTM/AuthorityConnector.java (original)
+++ incubator/lcf/trunk/modules/connectors/documentum/connector/org/apache/lcf/crawler/authorities/DCTM/AuthorityConnector.java Wed Feb 17 15:57:27 2010
@@ -103,25 +103,25 @@
/** Get a DFC session. This will be done every time it is needed.
*/
protected void getSession()
- throws MetacartaException
+ throws LCFException
{
if (session == null)
{
// This is the stuff that used to be in connect()
if (docbaseName == null || docbaseName.length() < 1)
- throw new MetacartaException("Parameter "+CONFIG_PARAM_DOCBASE+" required but not set");
+ throw new LCFException("Parameter "+CONFIG_PARAM_DOCBASE+" required but not set");
if (Logging.authorityConnectors.isDebugEnabled())
Logging.authorityConnectors.debug("DCTM: Docbase = '" + docbaseName + "'");
if (userName == null || userName.length() < 1)
- throw new MetacartaException("Parameter "+CONFIG_PARAM_USERNAME+" required but not set");
+ throw new LCFException("Parameter "+CONFIG_PARAM_USERNAME+" required but not set");
if (Logging.authorityConnectors.isDebugEnabled())
Logging.authorityConnectors.debug("DCTM: Username = '" + userName + "'");
if (password == null || password.length() < 1)
- throw new MetacartaException("Parameter "+CONFIG_PARAM_PASSWORD+" required but not set");
+ throw new LCFException("Parameter "+CONFIG_PARAM_PASSWORD+" required but not set");
Logging.authorityConnectors.debug("DCTM: Password exists");
@@ -168,35 +168,35 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (java.net.MalformedURLException e)
{
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
catch (NotBoundException e)
{
// Transient problem: Server not available at the moment.
- throw new MetacartaException("Server not up at the moment: "+e.getMessage(),e);
+ throw new LCFException("Server not up at the moment: "+e.getMessage(),e);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
session = null;
lastSessionFetch = -1L;
// Treat this as a transient problem
- throw new MetacartaException("Transient remote exception creating session: "+e.getMessage(),e);
+ throw new LCFException("Transient remote exception creating session: "+e.getMessage(),e);
}
catch (DocumentumException e)
{
// Base our treatment on the kind of error it is.
if (e.getType() == DocumentumException.TYPE_SERVICEINTERRUPTION)
{
- throw new MetacartaException("Remote service interruption creating session: "+e.getMessage(),e);
+ throw new LCFException("Remote service interruption creating session: "+e.getMessage(),e);
}
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
@@ -207,7 +207,7 @@
/** Perform a DQL query, with appropriate reset on a remote exception */
protected IDocumentumResult performDQLQuery(String query)
- throws DocumentumException, MetacartaException
+ throws DocumentumException, LCFException
{
while (true)
{
@@ -220,7 +220,7 @@
catch (RemoteException e)
{
if (noSession)
- throw new MetacartaException("Transient error connecting to documentum service",e);
+ throw new LCFException("Transient error connecting to documentum service",e);
session = null;
lastSessionFetch = -1L;
continue;
@@ -259,7 +259,7 @@
/** Check connection, with appropriate retries */
protected void checkConnection()
- throws DocumentumException, MetacartaException
+ throws DocumentumException, LCFException
{
while (true)
{
@@ -285,15 +285,15 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
- throw new MetacartaException("Transient error connecting to documentum service",e);
+ throw new LCFException("Transient error connecting to documentum service",e);
session = null;
lastSessionFetch = -1L;
continue;
@@ -303,7 +303,7 @@
/** Perform getObjectByQualification, with appropriate reset */
protected IDocumentumObject getObjectByQualification(String qualification)
- throws DocumentumException, MetacartaException
+ throws DocumentumException, LCFException
{
while (true)
{
@@ -316,7 +316,7 @@
catch (RemoteException e)
{
if (noSession)
- throw new MetacartaException("Transient error connecting to documentum service",e);
+ throw new LCFException("Transient error connecting to documentum service",e);
session = null;
lastSessionFetch = -1L;
continue;
@@ -327,7 +327,7 @@
/** Get server version, with appropriate retries */
protected String getServerVersion()
- throws DocumentumException, MetacartaException
+ throws DocumentumException, LCFException
{
while (true)
{
@@ -340,7 +340,7 @@
catch (RemoteException e)
{
if (noSession)
- throw new MetacartaException("Transient error connecting to documentum service",e);
+ throw new LCFException("Transient error connecting to documentum service",e);
session = null;
lastSessionFetch = -1L;
continue;
@@ -383,7 +383,7 @@
/** Release the session, if it's time.
*/
protected void releaseCheck()
- throws MetacartaException
+ throws LCFException
{
if (lastSessionFetch == -1L)
return;
@@ -412,13 +412,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
session = null;
lastSessionFetch = -1L;
// Treat this as a transient problem
@@ -577,7 +577,7 @@
* (Should throws an exception only when a condition cannot be properly described within the authorization response object.)
*/
public AuthorizationResponse getAuthorizationResponse(String strUserNamePassedIn)
- throws MetacartaException
+ throws LCFException
{
if (Logging.authorityConnectors.isDebugEnabled())
@@ -627,13 +627,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
Logging.authorityConnectors.warn("DCTM: Transient error checking authorization: "+e.getMessage(),e);
@@ -704,13 +704,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
Logging.authorityConnectors.warn("DCTM: Transient error checking authorization: "+e.getMessage(),e);
@@ -731,7 +731,7 @@
// Transient: Treat as if user does not exist, not like credentials invalid.
return unreachableResponse;
}
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
@@ -778,7 +778,7 @@
*@return the connection's status as a displayable string.
*/
public String check()
- throws MetacartaException
+ throws LCFException
{
try
{
@@ -796,7 +796,7 @@
return "Connection failed: "+e.getMessage();
}
}
- catch (MetacartaException e)
+ catch (LCFException e)
{
return "Connection failed: "+e.getMessage();
}
@@ -839,7 +839,7 @@
/** Disconnect from Documentum.
*/
public void disconnect()
- throws MetacartaException
+ throws LCFException
{
if (session != null)
{
@@ -864,13 +864,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
session = null;
lastSessionFetch = -1L;
// Treat this as a transient problem
@@ -904,7 +904,7 @@
* in active use.
*/
public void poll()
- throws MetacartaException
+ throws LCFException
{
releaseCheck();
}
Modified: incubator/lcf/trunk/modules/connectors/documentum/connector/org/apache/lcf/crawler/connectors/DCTM/DCTM.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/documentum/connector/org/apache/lcf/crawler/connectors/DCTM/DCTM.java?rev=911029&r1=911028&r2=911029&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/documentum/connector/org/apache/lcf/crawler/connectors/DCTM/DCTM.java (original)
+++ incubator/lcf/trunk/modules/connectors/documentum/connector/org/apache/lcf/crawler/connectors/DCTM/DCTM.java Wed Feb 17 15:57:27 2010
@@ -103,30 +103,30 @@
/** Get a DFC session. This will be done every time it is needed.
*/
protected void getSession()
- throws MetacartaException, ServiceInterruption
+ throws LCFException, ServiceInterruption
{
if (session == null)
{
// Perform basic parameter checking, and debug output.
if (docbaseName == null || docbaseName.length() < 1)
- throw new MetacartaException("Parameter "+CONFIG_PARAM_DOCBASE+" required but not set");
+ throw new LCFException("Parameter "+CONFIG_PARAM_DOCBASE+" required but not set");
if (Logging.connectors.isDebugEnabled())
Logging.connectors.debug("DCTM: Docbase = '" + docbaseName + "'");
if (userName == null || userName.length() < 1)
- throw new MetacartaException("Parameter "+CONFIG_PARAM_USERNAME+" required but not set");
+ throw new LCFException("Parameter "+CONFIG_PARAM_USERNAME+" required but not set");
if (Logging.connectors.isDebugEnabled())
Logging.connectors.debug("DCTM: Username = '" + userName + "'");
if (password == null || password.length() < 1)
- throw new MetacartaException("Parameter "+CONFIG_PARAM_PASSWORD+" required but not set");
+ throw new LCFException("Parameter "+CONFIG_PARAM_PASSWORD+" required but not set");
Logging.connectors.debug("DCTM: Password exists");
if (webtopBaseURL == null || webtopBaseURL.length() < 1)
- throw new MetacartaException("Required parameter "+CONFIG_PARAM_WEBTOPBASEURL+" missing");
+ throw new LCFException("Required parameter "+CONFIG_PARAM_WEBTOPBASEURL+" missing");
if (domain == null)
// Empty domain is allowed
@@ -158,11 +158,11 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (java.net.MalformedURLException e)
{
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
catch (NotBoundException e)
{
@@ -175,7 +175,7 @@
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
// Treat this as a transient problem
Logging.connectors.warn("DCTM: Transient remote exception creating session: "+e.getMessage(),e);
currentTime = System.currentTimeMillis();
@@ -191,7 +191,7 @@
throw new ServiceInterruption(e.getMessage(),e,currentTime + 300000L,currentTime + 12*60*60000L,
-1,true);
}
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
@@ -251,7 +251,7 @@
}
protected void getAttributesForType(ArrayList list, String typeName)
- throws DocumentumException, MetacartaException, ServiceInterruption
+ throws DocumentumException, LCFException, ServiceInterruption
{
String strDQL = "select attr_name FROM dmi_dd_attr_info where type_name = '" + typeName + "'";
@@ -279,13 +279,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
long currentTime = System.currentTimeMillis();
@@ -329,7 +329,7 @@
/** Check connection, with appropriate retries */
protected void checkConnection()
- throws DocumentumException, MetacartaException, ServiceInterruption
+ throws DocumentumException, LCFException, ServiceInterruption
{
while (true)
{
@@ -355,13 +355,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
long currentTime = System.currentTimeMillis();
@@ -412,7 +412,7 @@
/** Build date string with appropriate reset */
protected String buildDateString(long timevalue)
- throws DocumentumException, MetacartaException, ServiceInterruption
+ throws DocumentumException, LCFException, ServiceInterruption
{
while (true)
{
@@ -438,13 +438,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
long currentTime = System.currentTimeMillis();
@@ -489,7 +489,7 @@
/** Release the session, if it's time.
*/
protected void releaseCheck()
- throws MetacartaException
+ throws LCFException
{
if (lastSessionFetch == -1L)
return;
@@ -518,13 +518,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
session = null;
lastSessionFetch = -1L;
// Treat this as a transient problem
@@ -581,7 +581,7 @@
*@return the connection's status as a displayable string.
*/
public String check()
- throws MetacartaException
+ throws LCFException
{
try
{
@@ -596,14 +596,14 @@
if (e.getType() == DocumentumException.TYPE_SERVICEINTERRUPTION)
throw new ServiceInterruption(e.getMessage(),0L);
else
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
catch (ServiceInterruption e)
{
return "Connection temporarily failed: "+e.getMessage();
}
- catch (MetacartaException e)
+ catch (LCFException e)
{
return "Connection failed: "+e.getMessage();
}
@@ -631,7 +631,7 @@
* in active use.
*/
public void poll()
- throws MetacartaException
+ throws LCFException
{
releaseCheck();
}
@@ -639,7 +639,7 @@
/** Disconnect from Documentum.
*/
public void disconnect()
- throws MetacartaException
+ throws LCFException
{
if (session != null)
{
@@ -664,13 +664,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
session = null;
lastSessionFetch = -1L;
// Treat this as a transient problem
@@ -700,7 +700,7 @@
/** Protected method for calculating the URI
*/
protected String convertToURI(String strObjectId, String objectType)
- throws MetacartaException
+ throws LCFException
{
String strWebtopBaseUrl = webtopBaseURL;
@@ -855,7 +855,7 @@
*/
public void addSeedDocuments(ISeedingActivity activities, DocumentSpecification spec,
long startTime, long endTime)
- throws MetacartaException, ServiceInterruption
+ throws LCFException, ServiceInterruption
{
// First, build the query
@@ -1022,7 +1022,7 @@
// It's ok to leave the thread still active; we'll be shutting down anyway.
throw e;
}
- catch (MetacartaException e)
+ catch (LCFException e)
{
t.abort();
// We need the join, because we really don't want this documentum session to be
@@ -1042,7 +1042,7 @@
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
long currentTime = System.currentTimeMillis();
@@ -1055,7 +1055,7 @@
}
catch (InterruptedException e)
{
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
}
}
@@ -1069,14 +1069,14 @@
Logging.connectors.warn("DCTM: Remote service interruption getting versions: "+e.getMessage(),e);
throw new ServiceInterruption(e.getMessage(),e,currentTime + 300000L, currentTime + 12 * 60 * 60000L,-1,true);
}
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
/** Do a query and read back the name column */
protected static String[] convertToDCTMTypes(ArrayList contentList)
- throws MetacartaException, ServiceInterruption
+ throws LCFException, ServiceInterruption
{
if (contentList != null && contentList.size() > 0)
{
@@ -1220,7 +1220,7 @@
*/
public String[] getDocumentVersions(String[] documentIdentifiers, String[] oldVersions, IVersionActivity activity,
DocumentSpecification spec, int jobMode, boolean usesDefaultAuthority)
- throws MetacartaException, ServiceInterruption
+ throws LCFException, ServiceInterruption
{
Logging.connectors.debug("DCTM: Inside getDocumentVersions");
@@ -1275,7 +1275,7 @@
Logging.connectors.warn("DCTM: Remote service interruption listing attributes: "+e.getMessage(),e);
throw new ServiceInterruption(e.getMessage(),e,currentTime + 300000L,currentTime + 12 * 60 * 60000L,-1,true);
}
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
@@ -1375,13 +1375,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
currentTime = System.currentTimeMillis();
@@ -1404,7 +1404,7 @@
Logging.connectors.warn("DCTM: Remote service interruption getting versions: "+e.getMessage(),e);
throw new ServiceInterruption(e.getMessage(),e,currentTime + 300000L,currentTime + 12 * 60 * 60000L,-1,true);
}
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
@@ -1605,7 +1605,7 @@
*/
public void processDocuments(String[] documentIdentifiers, String[] documentVersions,
IProcessActivity activities, DocumentSpecification spec, boolean[] scanOnly)
- throws MetacartaException, ServiceInterruption
+ throws LCFException, ServiceInterruption
{
Logging.connectors.debug("DCTM: Inside processDocuments");
@@ -1651,8 +1651,8 @@
throw (RemoteException)thr;
else if (thr instanceof DocumentumException)
throw (DocumentumException)thr;
- else if (thr instanceof MetacartaException)
- throw (MetacartaException)thr;
+ else if (thr instanceof LCFException)
+ throw (LCFException)thr;
else
throw (Error)thr;
}
@@ -1688,13 +1688,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
currentTime = System.currentTimeMillis();
@@ -1723,15 +1723,15 @@
Logging.connectors.warn("DCTM: Remote service interruption reading files: "+e.getMessage(),e);
throw new ServiceInterruption(e.getMessage(),e,currentTime + 300000L,currentTime + 12 * 60 * 60000L,-1,true);
}
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
catch (java.io.InterruptedIOException e)
{
- throw new MetacartaException("Interrupted IO: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted IO: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (java.io.IOException e)
{
- throw new MetacartaException("IO exception: "+e.getMessage(),e);
+ throw new LCFException("IO exception: "+e.getMessage(),e);
}
}
@@ -1743,7 +1743,7 @@
*@param versions is the corresponding set of version identifiers (individual identifiers may be null).
*/
public void releaseDocumentVersions(String[] documentIdentifiers, String[] versions)
- throws MetacartaException
+ throws LCFException
{
// Nothing to do
}
@@ -1752,7 +1752,7 @@
* This one returns the supported content types, which will be presented in the UI for selection.
*/
public String[] getContentTypes()
- throws MetacartaException, ServiceInterruption
+ throws LCFException, ServiceInterruption
{
try
{
@@ -1789,13 +1789,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
long currentTime = System.currentTimeMillis();
@@ -1816,14 +1816,14 @@
Logging.connectors.warn("DCTM: Remote service interruption reading content types: "+e.getMessage(),e);
throw new ServiceInterruption(e.getMessage(),e,currentTime + 300000L, 12 * 60 * 60000L,-1,true);
}
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
/** Documentum-specific method, for UI support.
*/
public String[] getObjectTypes()
- throws MetacartaException, ServiceInterruption
+ throws LCFException, ServiceInterruption
{
try
{
@@ -1863,13 +1863,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
long currentTime = System.currentTimeMillis();
@@ -1890,7 +1890,7 @@
Logging.connectors.warn("DCTM: Remote service interruption reading object types: "+e.getMessage(),e);
throw new ServiceInterruption(e.getMessage(),e,currentTime + 300000L, currentTime + 12 * 60 * 60000L,-1,true);
}
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
@@ -1986,7 +1986,7 @@
* use in constructing the starting folder for a job's document specification.
*/
public String[] getChildFolderNames(String strTheParentFolderPath)
- throws MetacartaException, ServiceInterruption
+ throws LCFException, ServiceInterruption
{
try
{
@@ -2014,13 +2014,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
long currentTime = System.currentTimeMillis();
@@ -2041,7 +2041,7 @@
Logging.connectors.warn("DCTM: Remote service interruption reading child folders: "+e.getMessage(),e);
throw new ServiceInterruption(e.getMessage(),e,currentTime + 300000L,currentTime + 12 * 60 * 60000L,-1,true);
}
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
@@ -2053,7 +2053,7 @@
*@return the array of data attributes, in alphabetic order.
*/
public String[] getIngestableAttributes(String docType)
- throws MetacartaException, ServiceInterruption
+ throws LCFException, ServiceInterruption
{
try
{
@@ -2090,13 +2090,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
long currentTime = System.currentTimeMillis();
@@ -2117,7 +2117,7 @@
Logging.connectors.warn("DCTM: Remote service interruption reading child folders: "+e.getMessage(),e);
throw new ServiceInterruption(e.getMessage(),e,currentTime + 300000L,currentTime + 12 * 60 * 60000L,-1,true);
}
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
@@ -2287,7 +2287,7 @@
/** Constructor */
public SystemMetadataDescription(DocumentSpecification spec)
- throws MetacartaException
+ throws LCFException
{
pathAttributeName = null;
int i = 0;
@@ -2316,7 +2316,7 @@
/** Given an identifier, get the array of translated strings that goes into the metadata.
*/
public String[] getPathAttributeValue(IDocumentumObject object)
- throws DocumentumException, RemoteException, MetacartaException
+ throws DocumentumException, RemoteException, LCFException
{
String[] paths = object.getFolderPaths(pathMap);
String[] rval = new String[paths.length];
Modified: incubator/lcf/trunk/modules/connectors/documentum/connector/org/apache/lcf/crawler/connectors/DCTM/MatchMap.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/documentum/connector/org/apache/lcf/crawler/connectors/DCTM/MatchMap.java?rev=911029&r1=911028&r2=911029&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/documentum/connector/org/apache/lcf/crawler/connectors/DCTM/MatchMap.java (original)
+++ incubator/lcf/trunk/modules/connectors/documentum/connector/org/apache/lcf/crawler/connectors/DCTM/MatchMap.java Wed Feb 17 15:57:27 2010
@@ -261,7 +261,7 @@
/** Perform a translation.
*/
public String translate(String input)
- throws MetacartaException
+ throws LCFException
{
// Build pattern vector if not already there
if (matchPatterns == null)
@@ -278,7 +278,7 @@
catch (java.util.regex.PatternSyntaxException e)
{
matchPatterns = null;
- throw new MetacartaException("For match expression '"+regexp+"', found pattern syntax error: "+e.getMessage(),e);
+ throw new LCFException("For match expression '"+regexp+"', found pattern syntax error: "+e.getMessage(),e);
}
i++;
}
Modified: incubator/lcf/trunk/modules/connectors/documentum/crawler-ui/connectors/DCTM/editspec.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/documentum/crawler-ui/connectors/DCTM/editspec.jsp?rev=911029&r1=911028&r2=911029&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/documentum/crawler-ui/connectors/DCTM/editspec.jsp (original)
+++ incubator/lcf/trunk/modules/connectors/documentum/crawler-ui/connectors/DCTM/editspec.jsp Wed Feb 17 15:57:27 2010
@@ -116,7 +116,7 @@
pathSoFar = "/";
childList = c.getChildFolderNames(pathSoFar);
if (childList == null)
- throw new MetacartaException("Can't find any children for root folder");
+ throw new LCFException("Can't find any children for root folder");
}
}
finally
@@ -161,7 +161,7 @@
<%
}
}
- catch (MetacartaException e)
+ catch (LCFException e)
{
out.println(org.apache.lcf.ui.util.Encoder.bodyEscape(e.getMessage()));
}
@@ -434,7 +434,7 @@
RepositoryConnectorFactory.release(connector);
}
}
- catch (MetacartaException e)
+ catch (LCFException e)
{
%>
<tr><td class="message" colspan="2">
@@ -559,7 +559,7 @@
RepositoryConnectorFactory.release(connector);
}
}
- catch (MetacartaException e)
+ catch (LCFException e)
{
%>
<tr><td class="message" colspan="2">
Modified: incubator/lcf/trunk/modules/connectors/filenet/connector/org/apache/lcf/crawler/connectors/filenet/FilenetConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/filenet/connector/org/apache/lcf/crawler/connectors/filenet/FilenetConnector.java?rev=911029&r1=911028&r2=911029&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/filenet/connector/org/apache/lcf/crawler/connectors/filenet/FilenetConnector.java (original)
+++ incubator/lcf/trunk/modules/connectors/filenet/connector/org/apache/lcf/crawler/connectors/filenet/FilenetConnector.java Wed Feb 17 15:57:27 2010
@@ -140,30 +140,30 @@
/** Get a DFC session. This will be done every time it is needed.
*/
protected void getSession()
- throws MetacartaException, ServiceInterruption
+ throws LCFException, ServiceInterruption
{
if (session == null)
{
// Check for parameter validity
if (userID == null || userID.length() < 1)
- throw new MetacartaException("Parameter "+CONFIG_PARAM_USERID+" required but not set");
+ throw new LCFException("Parameter "+CONFIG_PARAM_USERID+" required but not set");
if (Logging.connectors.isDebugEnabled())
Logging.connectors.debug("FileNet: UserID = '" + userID + "'");
if (password == null || password.length() < 1)
- throw new MetacartaException("Parameter "+CONFIG_PARAM_PASSWORD+" required but not set");
+ throw new LCFException("Parameter "+CONFIG_PARAM_PASSWORD+" required but not set");
Logging.connectors.debug("FileNet: Password exists");
if (objectStore == null || objectStore.length() < 1)
- throw new MetacartaException("Parameter "+CONFIG_PARAM_OBJECTSTORE+" required but not set");
+ throw new LCFException("Parameter "+CONFIG_PARAM_OBJECTSTORE+" required but not set");
if (serverProtocol == null || serverProtocol.length() < 1)
- throw new MetacartaException("Parameter "+CONFIG_PARAM_SERVERPROTOCOL+" required but not set");
+ throw new LCFException("Parameter "+CONFIG_PARAM_SERVERPROTOCOL+" required but not set");
if (serverHostname == null || serverHostname.length() < 1)
- throw new MetacartaException("Parameter "+CONFIG_PARAM_SERVERHOSTNAME+" required but not set");
+ throw new LCFException("Parameter "+CONFIG_PARAM_SERVERHOSTNAME+" required but not set");
if (serverPort != null && serverPort.length() < 1)
serverPort = null;
@@ -172,10 +172,10 @@
Logging.connectors.debug("FileNet: Server URI is '"+serverWSIURI+"'");
if (docUrlServerProtocol == null || docUrlServerProtocol.length() == 0)
- throw new MetacartaException("Parameter "+CONFIG_PARAM_URLPROTOCOL+" required but not set");
+ throw new LCFException("Parameter "+CONFIG_PARAM_URLPROTOCOL+" required but not set");
if (docUrlServerName == null || docUrlServerName.length() == 0)
- throw new MetacartaException("Parameter "+CONFIG_PARAM_URLHOSTNAME+" required but not set");
+ throw new LCFException("Parameter "+CONFIG_PARAM_URLHOSTNAME+" required but not set");
if (Logging.connectors.isDebugEnabled())
Logging.connectors.debug("FileNet: Document base URI is '"+docURIPrefix+"'");
@@ -204,11 +204,11 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (java.net.MalformedURLException e)
{
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
catch (NotBoundException e)
{
@@ -221,7 +221,7 @@
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
// Treat this as a transient problem
Logging.connectors.warn("FileNet: Transient remote exception creating session: "+e.getMessage(),e);
currentTime = System.currentTimeMillis();
@@ -236,7 +236,7 @@
currentTime = System.currentTimeMillis();
throw new ServiceInterruption(e.getMessage(),e,currentTime + 300000L,currentTime + 12 * 60 * 60000L,-1,true);
}
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
@@ -278,7 +278,7 @@
/** Release the session, if it's time.
*/
protected void releaseCheck()
- throws MetacartaException
+ throws LCFException
{
if (lastSessionFetch == -1L)
return;
@@ -307,13 +307,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
session = null;
lastSessionFetch = -1L;
// Treat this as a transient problem
@@ -431,7 +431,7 @@
*@return the connection's status as a displayable string.
*/
public String check()
- throws MetacartaException
+ throws LCFException
{
try
{
@@ -446,14 +446,14 @@
if (e.getType() == FilenetException.TYPE_SERVICEINTERRUPTION)
throw new ServiceInterruption(e.getMessage(),0L);
else
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
catch (ServiceInterruption e)
{
return "Connection temporarily failed: "+e.getMessage();
}
- catch (MetacartaException e)
+ catch (LCFException e)
{
return "Connection failed: "+e.getMessage();
}
@@ -463,7 +463,7 @@
* in active use.
*/
public void poll()
- throws MetacartaException
+ throws LCFException
{
releaseCheck();
}
@@ -471,7 +471,7 @@
/** Disconnect from Filenet.
*/
public void disconnect()
- throws MetacartaException
+ throws LCFException
{
if (session != null)
{
@@ -496,13 +496,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
session = null;
lastSessionFetch = -1L;
// Treat this as a transient problem
@@ -540,7 +540,7 @@
*/
public void addSeedDocuments(ISeedingActivity activities, DocumentSpecification spec,
long startTime, long endTime)
- throws MetacartaException, ServiceInterruption
+ throws LCFException, ServiceInterruption
{
Logging.connectors.debug("FileNet: Inside addSeedDocuments");
@@ -646,7 +646,7 @@
if (e.getType() == FilenetException.TYPE_SERVICEINTERRUPTION)
throw new ServiceInterruption(e.getMessage(),e,currentTime+300000L,currentTime+12*60*60000L,-1,true);
else
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
@@ -736,7 +736,7 @@
*/
public String[] getDocumentVersions(String[] documentIdentifiers, String[] oldVersions, IVersionActivity activity,
DocumentSpecification spec, int jobMode, boolean usesDefaultAuthority)
- throws MetacartaException, ServiceInterruption
+ throws LCFException, ServiceInterruption
{
Logging.connectors.debug("FileNet: Inside getDocumentVersions");
@@ -952,7 +952,7 @@
rval[i] = null;
}
else
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
else
@@ -1002,7 +1002,7 @@
*/
public void processDocuments(String[] documentIdentifiers, String[] documentVersions,
IProcessActivity activities, DocumentSpecification spec, boolean[] scanOnly)
- throws MetacartaException, ServiceInterruption
+ throws LCFException, ServiceInterruption
{
Logging.connectors.debug("FileNet: Inside processDocuments");
@@ -1035,7 +1035,7 @@
}
catch (NumberFormatException e)
{
- throw new MetacartaException("Bad number in identifier: "+documentIdentifier,e);
+ throw new LCFException("Bad number in identifier: "+documentIdentifier,e);
}
// Unpack the information in the document version
@@ -1099,7 +1099,7 @@
{
activities.recordActivity(new Long(startTime),ACTIVITY_FETCH,
null,documentIdentifier,"Miscellaneous error",e.getMessage(),null);
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
@@ -1162,7 +1162,7 @@
}
catch (InterruptedIOException e)
{
- throw new MetacartaException(e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException(e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (IOException e)
{
@@ -1178,12 +1178,12 @@
}
catch (InterruptedIOException e)
{
- throw new MetacartaException(e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException(e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (IOException e)
{
Logging.connectors.error("FileNet: IO Exception ingesting document '"+documentIdentifier+"': "+e.getMessage(),e);
- throw new MetacartaException("IO Exception ingesting document '"+documentIdentifier+"': "+e.getMessage(),e);
+ throw new LCFException("IO Exception ingesting document '"+documentIdentifier+"': "+e.getMessage(),e);
}
}
}
@@ -1238,7 +1238,7 @@
}
else
{
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
}
@@ -1255,7 +1255,7 @@
*@param versions is the corresponding set of version identifiers (individual identifiers may be null).
*/
public void releaseDocumentVersions(String[] documentIdentifiers, String[] versions)
- throws MetacartaException
+ throws LCFException
{
// Nothing to do
}
@@ -1270,7 +1270,7 @@
/** Get the set of available document classes, with details */
public DocumentClassDefinition[] getDocumentClassesDetails()
- throws MetacartaException, ServiceInterruption
+ throws LCFException, ServiceInterruption
{
long currentTime;
try
@@ -1284,13 +1284,13 @@
if (e.getType() == FilenetException.TYPE_SERVICEINTERRUPTION)
throw new ServiceInterruption(e.getMessage(),e,currentTime+300000L,currentTime+12*60*60000L,-1,true);
else
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
/** Get the set of available metadata fields per document class */
public MetadataFieldDefinition[] getDocumentClassMetadataFieldsDetails(String documentClassName)
- throws ServiceInterruption, MetacartaException
+ throws ServiceInterruption, LCFException
{
long currentTime;
try
@@ -1304,13 +1304,13 @@
if (e.getType() == FilenetException.TYPE_SERVICEINTERRUPTION)
throw new ServiceInterruption(e.getMessage(),e,currentTime+300000L,currentTime+12*60*60000L,-1,true);
else
- throw new MetacartaException(e.getMessage(),e);
+ throw new LCFException(e.getMessage(),e);
}
}
/** Get the set of available mime types */
public String[] getMimeTypes()
- throws MetacartaException, ServiceInterruption
+ throws LCFException, ServiceInterruption
{
// For now, return the list of mime types we know about
return new String[]
@@ -1404,7 +1404,7 @@
/** Check connection, with appropriate retries */
protected void checkConnection()
- throws FilenetException, MetacartaException, ServiceInterruption
+ throws FilenetException, LCFException, ServiceInterruption
{
while (true)
{
@@ -1431,13 +1431,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
currentTime = System.currentTimeMillis();
@@ -1486,7 +1486,7 @@
/** Get document class details, with appropriate retries */
protected DocumentClassDefinition[] getDocumentClassesInfo()
- throws FilenetException, MetacartaException, ServiceInterruption
+ throws FilenetException, LCFException, ServiceInterruption
{
while (true)
{
@@ -1513,13 +1513,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
currentTime = System.currentTimeMillis();
@@ -1570,7 +1570,7 @@
/** Get document class metadata fields details, with appropriate retries */
protected MetadataFieldDefinition[] getDocumentClassMetadataFieldsInfo(String documentClassName)
- throws FilenetException, MetacartaException, ServiceInterruption
+ throws FilenetException, LCFException, ServiceInterruption
{
while (true)
{
@@ -1597,13 +1597,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
currentTime = System.currentTimeMillis();
@@ -1655,7 +1655,7 @@
/** Get matching object id's for a given query */
protected String[] doGetMatchingObjectIds(String sql)
- throws FilenetException, MetacartaException, ServiceInterruption
+ throws FilenetException, LCFException, ServiceInterruption
{
while (true)
{
@@ -1682,13 +1682,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
currentTime = System.currentTimeMillis();
@@ -1739,7 +1739,7 @@
}
protected Integer doGetDocumentContentCount(String documentIdentifier)
- throws FilenetException, MetacartaException, ServiceInterruption
+ throws FilenetException, LCFException, ServiceInterruption
{
while (true)
{
@@ -1766,13 +1766,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
currentTime = System.currentTimeMillis();
@@ -1827,7 +1827,7 @@
/** Get document info */
protected FileInfo doGetDocumentInformation(String docId, HashMap metadataFields)
- throws FilenetException, MetacartaException, ServiceInterruption
+ throws FilenetException, LCFException, ServiceInterruption
{
while (true)
{
@@ -1854,13 +1854,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
currentTime = System.currentTimeMillis();
@@ -1910,7 +1910,7 @@
/** Get document contents */
protected void doGetDocumentContents(String docId, int elementNumber, String tempFileName)
- throws FilenetException, MetacartaException, ServiceInterruption
+ throws FilenetException, LCFException, ServiceInterruption
{
while (true)
{
@@ -1937,13 +1937,13 @@
catch (InterruptedException e)
{
t.interrupt();
- throw new MetacartaException("Interrupted: "+e.getMessage(),e,MetacartaException.INTERRUPTED);
+ throw new LCFException("Interrupted: "+e.getMessage(),e,LCFException.INTERRUPTED);
}
catch (RemoteException e)
{
Throwable e2 = e.getCause();
if (e2 instanceof InterruptedException || e2 instanceof InterruptedIOException)
- throw new MetacartaException(e2.getMessage(),e2,MetacartaException.INTERRUPTED);
+ throw new LCFException(e2.getMessage(),e2,LCFException.INTERRUPTED);
if (noSession)
{
currentTime = System.currentTimeMillis();
Modified: incubator/lcf/trunk/modules/connectors/filenet/crawler-ui/connectors/filenet/editspec.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/filenet/crawler-ui/connectors/filenet/editspec.jsp?rev=911029&r1=911028&r2=911029&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/filenet/crawler-ui/connectors/filenet/editspec.jsp (original)
+++ incubator/lcf/trunk/modules/connectors/filenet/crawler-ui/connectors/filenet/editspec.jsp Wed Feb 17 15:57:27 2010
@@ -92,7 +92,7 @@
RepositoryConnectorFactory.release(connector);
}
}
- catch (MetacartaException e)
+ catch (LCFException e)
{
message = e.getMessage();
}
@@ -364,7 +364,7 @@
RepositoryConnectorFactory.release(connector);
}
}
- catch (MetacartaException e)
+ catch (LCFException e)
{
message = e.getMessage();
}