aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/yexception.h
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:12 +0300
commit49116032d905455a7b1c994e4a696afc885c1e71 (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /util/generic/yexception.h
parent4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff)
downloadydb-49116032d905455a7b1c994e4a696afc885c1e71.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/yexception.h')
-rw-r--r--util/generic/yexception.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/util/generic/yexception.h b/util/generic/yexception.h
index d4162f9822..b0c604e8c4 100644
--- a/util/generic/yexception.h
+++ b/util/generic/yexception.h
@@ -155,22 +155,22 @@ namespace NPrivate {
void fputs(const std::exception& e, FILE* f = stderr);
TString CurrentExceptionMessage();
-
-/*
- * A neat method that detects wrether stack unwinding is in progress.
- * As its std counterpart (that is std::uncaught_exception())
- * was removed from the standard, this method uses std::uncaught_exceptions() internally.
- *
- * If you are struggling to use this method, please, consider reading
- *
- * http://www.gotw.ca/gotw/047.htm
- * and
- * http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4152.pdf
- *
- * DO NOT USE THIS METHOD IN DESTRUCTORS.
- */
+
+/*
+ * A neat method that detects wrether stack unwinding is in progress.
+ * As its std counterpart (that is std::uncaught_exception())
+ * was removed from the standard, this method uses std::uncaught_exceptions() internally.
+ *
+ * If you are struggling to use this method, please, consider reading
+ *
+ * http://www.gotw.ca/gotw/047.htm
+ * and
+ * http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4152.pdf
+ *
+ * DO NOT USE THIS METHOD IN DESTRUCTORS.
+ */
bool UncaughtException() noexcept;
-
+
std::string CurrentExceptionTypeName();
TString FormatExc(const std::exception& exception);