[Carbon-commits] [tools-branch] svn commit r91680 - branches/tools/eclipse/carbon-studio/1.0.0/connectors/org.wso2.carbonstudio.eclipse.registry.connector/src/org/wso2/carbonstudio/eclipse/capp/registry/connector/handler
chathuri at wso2.com
chathuri at wso2.com
Mon Apr 4 23:00:10 PDT 2011
Author: chathuri
Date: Mon Apr 4 23:00:10 2011
New Revision: 91680
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=91680
Log:
fixing incompatibility caused with the IRegistryHandler interface
Modified:
branches/tools/eclipse/carbon-studio/1.0.0/connectors/org.wso2.carbonstudio.eclipse.registry.connector/src/org/wso2/carbonstudio/eclipse/capp/registry/connector/handler/RegistryHandler.java
Modified: branches/tools/eclipse/carbon-studio/1.0.0/connectors/org.wso2.carbonstudio.eclipse.registry.connector/src/org/wso2/carbonstudio/eclipse/capp/registry/connector/handler/RegistryHandler.java
URL: http://wso2.org/svn/browse/wso2/branches/tools/eclipse/carbon-studio/1.0.0/connectors/org.wso2.carbonstudio.eclipse.registry.connector/src/org/wso2/carbonstudio/eclipse/capp/registry/connector/handler/RegistryHandler.java?rev=91680&r1=91679&r2=91680&view=diff
==============================================================================
--- branches/tools/eclipse/carbon-studio/1.0.0/connectors/org.wso2.carbonstudio.eclipse.registry.connector/src/org/wso2/carbonstudio/eclipse/capp/registry/connector/handler/RegistryHandler.java (original)
+++ branches/tools/eclipse/carbon-studio/1.0.0/connectors/org.wso2.carbonstudio.eclipse.registry.connector/src/org/wso2/carbonstudio/eclipse/capp/registry/connector/handler/RegistryHandler.java Mon Apr 4 23:00:10 2011
@@ -160,7 +160,7 @@
public IRegistryData selectRegistryPath(IRegistryConnection[] registryConnections, String title,
- String message, int type) throws Exception {
+ String message, int type){
RegistryTreeBrowserDialog dialog = new RegistryTreeBrowserDialog(getShell(),type);
if (title!=null) dialog.setTitle(title);
if (message!=null) dialog.setMessage(message);
@@ -181,7 +181,7 @@
}else if(node.getResourceType()==RegistryResourceType.COLLECTION){
regData.setType(Constants.REGISTRY_COLLECTION);
}else{
- throw new Exception("Resource not defined");
+ log.error("Resource not defined");
}
regData.setURL(node.getConnectionInfo().getUrl());
More information about the Carbon-commits
mailing list