Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Define THROWF and RETHROWF as variadic macros.
[simgrid.git] / doc / gtut-files / 08-exceptions.c
index 3f1c07571f38f65e5dda2694dd81e06db1b564e7..d41934257323328d4101d01632aecde37ac99c0a 100644 (file)
@@ -89,7 +89,7 @@ int client(int argc, char *argv[])
   }                             /* end_of_loop */
 
   if (!found)
-    THROW0(not_found_error, 0,
+    THROWF(not_found_error, 0,
            "Damn, I failed to find the server! I cannot survive this humilliation.");