public JRMPHelloServer(final String string) throws RemoteException { msg = string; try { clusteredObjectInfo = CMIInfoExtractor.extractClusteringInfoFromAnnotatedPOJO( "jrmpHelloServer", TestItf.class, JRMPHelloServer.class, false, null); } catch (CMIInfoExtractorException e) { // TODO Auto-generated catch block e.printStackTrace(); } } /**
} catch (ClassNotFoundException e) { logger.error("Cannot load the class {0} that define a policy", policyClassName, e); throw new CMIInfoExtractorException( "Cannot load the class " + policyClassName + " that define a policy", e); } catch (ClassNotFoundException e) { logger.error("Cannot load the class {0} that define a strategy", strategyClassName, e); throw new CMIInfoExtractorException( "Cannot load the class " + strategyClassName + " that define a strategy", e); } catch (Exception e) { logger.error("Cannot convert properties", e); throw new CMIInfoExtractorException("Cannot convert properties", e);
} catch (XMLConfigurationException e) { logger.error("Cannot set informations for the clustered object with interface {0}", itfClass.getName(), e); throw new CMIInfoExtractorException( "Cannot set informations for the clustered object with interface " + itfClass.getName(), e); throw new CMIInfoExtractorException("No definition of clustered object for " + objectName);
propertyValue = PolicyFactory.convertString(policyType, propertyName, svalue); } catch (PropertyConfigurationException e) { throw new CMIInfoExtractorException("Cannot cast property " + propertyName, e); propertyValues = PolicyFactory.convertStrings(policyType, propertyName, Arrays.asList(svalues)); } catch (PropertyConfigurationException e) { throw new CMIInfoExtractorException("Cannot cast property " + propertyName, e);
public IIOPHelloServer(final String string) throws RemoteException { msg = string; try { clusteredObjectInfo = CMIInfoExtractor.extractClusteringInfoFromAnnotatedPOJO( "iiopHelloServer", TestItf.class, IIOPHelloServer.class, false, null); } catch (CMIInfoExtractorException e) { // TODO Auto-generated catch block e.printStackTrace(); } }