Package edu.indiana.extreme.gfac.utils

Examples of edu.indiana.extreme.gfac.utils.GfacException.addProperty()


            logger.info("Registry URL: "+ registryURL);
                  return new XregistryServiceWrapper(registryURL,globalConfiguration);
              } catch (GfacException e) {
                e.printStackTrace();
              GfacException error = new GfacException("Failed to create registry Service client using " + registryURL,e,FaultCode.ErrorAtDependentService);
              error.addProperty(ErrorCodes.SERVICE_TYPE, ErrorCodes.ServiceType.Registry.toString());
              error.addProperty(ErrorCodes.URL_Name, registryURL);
              throw error;
          }
      }
   public static RegistryService createRegistryService(String registryURL,String trustedCertFile,
View Full Code Here


                  return new XregistryServiceWrapper(registryURL,globalConfiguration);
              } catch (GfacException e) {
                e.printStackTrace();
              GfacException error = new GfacException("Failed to create registry Service client using " + registryURL,e,FaultCode.ErrorAtDependentService);
              error.addProperty(ErrorCodes.SERVICE_TYPE, ErrorCodes.ServiceType.Registry.toString());
              error.addProperty(ErrorCodes.URL_Name, registryURL);
              throw error;
          }
      }
   public static RegistryService createRegistryService(String registryURL,String trustedCertFile,
               GSSCredential gssCredential) throws GfacException{
View Full Code Here

            logger.info("Registry URL: "+ registryURL);
                  return new XregistryServiceWrapper(registryURL,trustedCertFile, gssCredential);
              } catch (GfacException e) {
                e.printStackTrace();
              GfacException error = new GfacException("Failed to create registry Service client using " + registryURL,e,FaultCode.ErrorAtDependentService);
              error.addProperty(ErrorCodes.SERVICE_TYPE, ErrorCodes.ServiceType.Registry.toString());
              error.addProperty(ErrorCodes.URL_Name, registryURL);
              throw error;
          }
      }
    
View Full Code Here

                  return new XregistryServiceWrapper(registryURL,trustedCertFile, gssCredential);
              } catch (GfacException e) {
                e.printStackTrace();
              GfacException error = new GfacException("Failed to create registry Service client using " + registryURL,e,FaultCode.ErrorAtDependentService);
              error.addProperty(ErrorCodes.SERVICE_TYPE, ErrorCodes.ServiceType.Registry.toString());
              error.addProperty(ErrorCodes.URL_Name, registryURL);
              throw error;
          }
      }
    
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.