aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/yexception.h
diff options
context:
space:
mode:
authortkhanipov <tkhanipov@yandex-team.ru>2022-02-10 16:49:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:46 +0300
commit60a6df6d382906cd4ca6cd885920b3c20820170e (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/yexception.h
parent60c0dade397b9b2f9a22f5daa5b2ea5e433e6e40 (diff)
downloadydb-60a6df6d382906cd4ca6cd885920b3c20820170e.tar.gz
Restoring authorship annotation for <tkhanipov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/yexception.h')
-rw-r--r--util/generic/yexception.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/util/generic/yexception.h b/util/generic/yexception.h
index 6e8c247cc7d..b0c604e8c45 100644
--- a/util/generic/yexception.h
+++ b/util/generic/yexception.h
@@ -121,23 +121,23 @@ class TFileError: public TIoSystemError {
/**
* TBadArgumentException should be thrown when an argument supplied to some function (or constructor)
- * is invalid or incorrect.
- *
- * \note
- * A special case when such argument is given to a function which performs type casting
- * (e.g. integer from string) is covered by the TBadCastException class which is derived from
- * TBadArgumentException.
- */
-struct TBadArgumentException: public virtual yexception {
+ * is invalid or incorrect.
+ *
+ * \note
+ * A special case when such argument is given to a function which performs type casting
+ * (e.g. integer from string) is covered by the TBadCastException class which is derived from
+ * TBadArgumentException.
+ */
+struct TBadArgumentException: public virtual yexception {
};
/**
* TBadCastException should be thrown to indicate the failure of some type casting procedure
- * (e.g. reading an integer parameter from string).
- */
-struct TBadCastException: public virtual TBadArgumentException {
-};
-
+ * (e.g. reading an integer parameter from string).
+ */
+struct TBadCastException: public virtual TBadArgumentException {
+};
+
#define ythrow throw __LOCATION__ +
namespace NPrivate {