diff --git a/source/adios2/toolkit/transportman/TransportMan.cpp b/source/adios2/toolkit/transportman/TransportMan.cpp
index 49a45a71e37d8f5892152986289241eeccf1d8ca..fef4ec08bfd8844c417cb4dfd54053ac5057fb67 100644
--- a/source/adios2/toolkit/transportman/TransportMan.cpp
+++ b/source/adios2/toolkit/transportman/TransportMan.cpp
@@ -123,7 +123,7 @@ TransportMan::GetTransportsProfilers() noexcept
 }
 
 void TransportMan::CloseFiles(const int transportIndex, const char *buffer,
-                              const size_t size) noexcept
+                              const size_t size)
 {
     if (transportIndex == -1)
     {
diff --git a/source/adios2/toolkit/transportman/TransportMan.h b/source/adios2/toolkit/transportman/TransportMan.h
index 23c728b14513420afb6dfbd4076871d3a34b5d23..2e984eb18496d86cb4bc97999f2537b93178150d 100644
--- a/source/adios2/toolkit/transportman/TransportMan.h
+++ b/source/adios2/toolkit/transportman/TransportMan.h
@@ -94,8 +94,15 @@ public:
      * m_Transports.m_Profiler */
     std::vector<profiling::IOChrono *> GetTransportsProfilers() noexcept;
 
+    /**
+     * Close file or files depending on transport index. Throws an exception
+     * if transport is not a file when transportIndex > -1.
+     * @param transportIndex -1: all transports, otherwise index in m_Transports
+     * @param buffer pass buffer to be sent to transport
+     * @param size passes the buffer size
+     */
     void CloseFiles(const int transportIndex, const char *buffer,
-                    const size_t size) noexcept;
+                    const size_t size);
 
     /** Checks if all transports are closed */
     bool AllTransportsClosed() const noexcept;