Revert "ref #6118 catching exception during checkConnection"
[taxeditor.git] / eu.etaxonomy.taxeditor.cdmlib / src / main / java / eu / etaxonomy / taxeditor / remoting / source / CdmRemoteSourceBase.java
index fc2b42c33d54f7610a6a7e7a7ce9c39ddf88e34c..59c24ea3b2f5497c692570e00582113aee6584b0 100644 (file)
@@ -10,8 +10,6 @@ package eu.etaxonomy.taxeditor.remoting.source;
 
 import java.util.Map;
 
-import org.springframework.remoting.RemoteAccessException;
-
 import eu.etaxonomy.cdm.api.application.CdmApplicationRemoteConfiguration;
 import eu.etaxonomy.cdm.api.service.IMetadataService;
 import eu.etaxonomy.cdm.config.CdmSource;
@@ -134,11 +132,8 @@ public class CdmRemoteSourceBase extends CdmSource implements ICdmRemoteSource {
                // the connection is up
                // if no exception is thrown then we assume that the
                // connection is up
-           try {
-               metadataService.getDbSchemaVersion();
-           } catch (RemoteAccessException e) {
-               throw new CdmSourceException("RemoteAccessException: " + e.getMessage());
-           }
+               // FIXME:Remoting is this really correct?
+               metadataService.getDbSchemaVersion();
 
                return true;
        }