aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/yexception.cpp
diff options
context:
space:
mode:
authorswarmer <swarmer@yandex-team.ru>2022-02-10 16:46:31 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:31 +0300
commit317da38588b7898a99fd9168571408123350012b (patch)
tree25eebc31526019ad39a6c1b13f492963d97ba439 /util/generic/yexception.cpp
parent3b2241461d41d41ba1a706b0750c4f0f55c344f6 (diff)
downloadydb-317da38588b7898a99fd9168571408123350012b.tar.gz
Restoring authorship annotation for <swarmer@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/yexception.cpp')
-rw-r--r--util/generic/yexception.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/util/generic/yexception.cpp b/util/generic/yexception.cpp
index 2ce6c4369da..46dc3de712b 100644
--- a/util/generic/yexception.cpp
+++ b/util/generic/yexception.cpp
@@ -1,4 +1,4 @@
-#include "bt_exception.h"
+#include "bt_exception.h"
#include "yexception.h"
#include <util/system/backtrace.h>
@@ -112,11 +112,11 @@ void fputs(const std::exception& e, FILE* f) {
message[len] = 0;
fputs(message, f);
}
-
-void ::NPrivate::ThrowYException(const ::NPrivate::TSimpleExceptionMessage& sm) {
- throw sm.Location + yexception() << sm.Message;
-}
-
-void ::NPrivate::ThrowYExceptionWithBacktrace(const ::NPrivate::TSimpleExceptionMessage& sm) {
- throw sm.Location + TWithBackTrace<yexception>() << sm.Message;
-}
+
+void ::NPrivate::ThrowYException(const ::NPrivate::TSimpleExceptionMessage& sm) {
+ throw sm.Location + yexception() << sm.Message;
+}
+
+void ::NPrivate::ThrowYExceptionWithBacktrace(const ::NPrivate::TSimpleExceptionMessage& sm) {
+ throw sm.Location + TWithBackTrace<yexception>() << sm.Message;
+}