service-registry/src/main/java/de/evoila/osb/service/registry/manager/RegistryBindingManager.java
public RegistryBinding searchRegistryBinding(String serviceBindingId, HttpStatus resourceNotFoundExceptionCustomStatusCode) throws ResourceNotFoundException {
        Optional<RegistryBinding> binding = get(serviceBindingId);
        if (!binding.isPresent())
            throw new ResourceNotFoundException("service binding", resourceNotFoundExceptionCustomStatusCode);
        return binding.get();
    }
/**
     * Searches for a binding with the given serviceBindingId while using the given custom http error code for the {@linkplain ResourceNotFoundException}
     *
     * @param serviceBindingId                          id to identify the binding with
     * @param resourceNotFoundExceptionCustomStatusCode custom {@linkplain HttpStatus} for the potential thrown {@linkplain ResourceNotFoundException}
     * @return a binding matching the given id, guaranteed to not be null
     * @throws ResourceNotFoundException if no matching binding was found
     */
Searches for a binding with the given serviceBindingId while using the given custom http error code for the  ResourceNotFoundException
@param serviceBindingId                          id to identify the binding with
@param resourceNotFoundExceptionCustomStatusCode custom  HttpStatus for the potential thrown  ResourceNotFoundException
@return a binding matching the given id, guaranteed to not be null
@throws ResourceNotFoundException if no matching binding was found
Searches for a binding with the given serviceBindingId while using the given custom http error code for the ResourceNotFoundException @param serviceBindingId id to identify the binding with @param resourceNotFoundExceptionCustomStatusCode custom HttpStatus for the potential thrown ResourceNotFoundException @return a binding matching the given id guaranteed to not be null @throws ResourceNotFoundException if no matching binding was found
public RegistryBinding searchRegistryBinding(String serviceBindingId, HttpStatus resourceNotFoundExceptionCustomStatusCode) throws ResourceNotFoundException {
        Optional<RegistryBinding> binding = get(serviceBindingId);
        if (!binding.isPresent())
            throw new ResourceNotFoundException("service binding", resourceNotFoundExceptionCustomStatusCode);
        return binding.get();
    }
public RegistryBinding searchRegistryBinding ( String serviceBindingId , HttpStatus resourceNotFoundExceptionCustomStatusCode ) throws ResourceNotFoundException { Optional < RegistryBinding > binding = get ( serviceBindingId ) ; if ( ! binding . isPresent ( ) ) throw new ResourceNotFoundException ( "service binding" , resourceNotFoundExceptionCustomStatusCode ) ; return binding . get ( ) ; }
Searches for a binding with the given serviceBindingId while using the given custom http error code for the {@linkplain ResourceNotFoundException}
 @param serviceBindingId                          id to identify the binding with
 @param resourceNotFoundExceptionCustomStatusCode custom {@linkplain HttpStatus} for the potential thrown {@linkplain ResourceNotFoundException}
 @return a binding matching the given id, guaranteed to not be null
 @throws ResourceNotFoundException if no matching binding was found
Searches for a binding with the given serviceBindingId while using the given custom http error code for the { @linkplain ResourceNotFoundException } @param serviceBindingId id to identify the binding with @param resourceNotFoundExceptionCustomStatusCode custom { @linkplain HttpStatus } for the potential thrown { @linkplain ResourceNotFoundException } @return a binding matching the given id guaranteed to not be null @throws ResourceNotFoundException if no matching binding was found