Skip to content

Commit 4fcb065

Browse files
author
hhakimi53
committed
remove accidental extra lines
1 parent 3d95b5a commit 4fcb065

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/Exception.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
#include <exception>
2929
#include <sstream>
3030

31-
32-
3331
namespace voltdb {
3432
using std::ostringstream;
3533

@@ -67,8 +65,10 @@ class Exception : public std::exception {
6765
virtual const char* what() const throw() {
6866
return "An unknown error occured in the VoltDB client API";
6967
}
68+
const int getErrorCode() const { return m_errorCode; }
7069
protected:
7170
Exception(nativeErrorCode errCode) : m_errorCode(errCode){};
71+
private:
7272
nativeErrorCode m_errorCode; // needed for ODBC driver
7373
};
7474

0 commit comments

Comments
 (0)