aboutsummaryrefslogtreecommitdiffstats
path: root/util
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
commit60c0dade397b9b2f9a22f5daa5b2ea5e433e6e40 (patch)
tree4acdda76eaabc40a9ee1a272dc41f7a3862409ec /util
parenta27ec9dbf04ab9972fd470b53b8bdd41153226e5 (diff)
downloadydb-60c0dade397b9b2f9a22f5daa5b2ea5e433e6e40.tar.gz
Restoring authorship annotation for <tkhanipov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util')
-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 b0c604e8c4..6e8c247cc7 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 {