code: protected void processExceptionsFromAutoclosable(List<XVariableDeclaration> resources,
  			IThrownExceptionDelegate thrownExceptionDelegate) {
  		
  		// If no resources are give, no exceptions are thrown
  		if (resources.isEmpty()) {
  			return;
  		}
  		
  		// Check for each resource which exceptions are thrown
  		for (XVariableDeclaration resource : resources) {
  			LightweightTypeReference autoClosableType = thrownExceptionDelegate.getActualType((JvmIdentifiableElement) resource);
  			JvmOperation closeMethod = findCloseMethod(autoClosableType);
  			// Collect all exceptions
  			if (autoClosableType != null && closeMethod != null) {
  				IResolvedExecutable resolvedCloseMethod = thrownExceptionDelegate.getResolvedFeature(closeMethod, autoClosableType);
  				List<LightweightTypeReference> declaredExceptions = resolvedCloseMethod.getResolvedExceptions();
  				for(LightweightTypeReference exception: declaredExceptions) {
  					thrownExceptionDelegate.accept(exception);
  				}
  			}
  		}
  	}
docs: Checks if the automatically called close method of resources in
  try block (implementing AutoCloseable) throws exceptions.
  Add those those exceptions to the list of the thrownExceptionDelegate.
  
  @param resources the resources of the try statement
  @param thrownExceptionDelegate the (filtered) delegate holding the utilities
  
  @since 2.18