public void addServiceDescription(ServiceDescription serviceDescription) throws AiravataAPIInvocationException,
DescriptorRecordAlreadyExistsException {
try {
getClient().getRegistryClient().addServiceDescriptor(serviceDescription);
} catch (DescriptorAlreadyExistsException e) {
throw new DescriptorRecordAlreadyExistsException("Service descriptor "
+ serviceDescription.getType().getName()
+ " already exists.", e);
} catch (RegistryException e) {
throw new AiravataAPIInvocationException("An internal error occurred while trying to add service descriptor"
+ serviceDescription.getType().getName(),