1 #include <libsex/Exception.hxx> // Exception::LENGTH
7 const char* const file,
11 // Temporary string should be initialized
12 // with 0 to not forget a trailing 0.
13 char buf[Exception::LENGTH + 1] = { 0 };
18 // Fill buf with formatted T::TEMPLATE message.
19 vformat(buf, Exception::LENGTH + 1,
29 const Exception& previous,
30 const char* const file,
34 char buf[Exception::LENGTH + 1] = { 0 };
38 vformat(buf, Exception::LENGTH + 1,
43 return T(buf, previous);
46 }; // End of namespace.