summaryrefslogtreecommitdiffstats
path: root/src/svnqt/cache/DatabaseException.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2021-03-19 10:06:06 +0900
committerMichele Calgaro <[email protected]>2021-03-19 10:10:59 +0900
commiteb8fa2d68a46e05c52d67e98abb60e9bb70cfa6c (patch)
treeed685a6c70bc5742159b8a9bdd958d62406fdfe0 /src/svnqt/cache/DatabaseException.h
parenta7413f700bbf107677b27816e25df21384be55ce (diff)
downloadtdesvn-eb8fa2d68a46e05c52d67e98abb60e9bb70cfa6c.tar.gz
tdesvn-eb8fa2d68a46e05c52d67e98abb60e9bb70cfa6c.zip
Renaming of files in preparation for code style tools.r14.0.10
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 283bc34244d24be02e90b767a82826a4ca8da186)
Diffstat (limited to 'src/svnqt/cache/DatabaseException.h')
-rw-r--r--src/svnqt/cache/DatabaseException.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/svnqt/cache/DatabaseException.h b/src/svnqt/cache/DatabaseException.h
new file mode 100644
index 0000000..c089beb
--- /dev/null
+++ b/src/svnqt/cache/DatabaseException.h
@@ -0,0 +1,35 @@
+#ifndef _DATABASE_EXCEPTION_HPP
+#define _DATABASE_EXCEPTION_HPP
+
+#include "svnqt/exception.h"
+
+namespace svn
+{
+namespace cache
+{
+
+class SVNTQT_EXPORT DatabaseException:public svn::Exception
+{
+ private:
+ DatabaseException()throw();
+ int m_number;
+
+ public:
+ DatabaseException(const TQString&msg)throw()
+ : Exception(msg),m_number(-1)
+ {}
+
+ DatabaseException(const DatabaseException&src)throw()
+ : Exception(src.msg()),m_number(src.number())
+ {}
+ DatabaseException(const TQString&msg,int aNumber)throw();
+ virtual ~DatabaseException()throw(){}
+ int number() const
+ {
+ return m_number;
+ }
+};
+
+}
+}
+#endif