Skip to content

Commit ad14e5a

Browse files
authored
refactor: add final modifier to rest error handlers (#356)
1 parent f1b0dba commit ad14e5a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/iceberg/catalog/rest/error_handlers.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class ICEBERG_REST_EXPORT NamespaceErrorHandler : public DefaultErrorHandler {
7171
};
7272

7373
/// \brief Error handler for drop namespace operations.
74-
class ICEBERG_REST_EXPORT DropNamespaceErrorHandler : public NamespaceErrorHandler {
74+
class ICEBERG_REST_EXPORT DropNamespaceErrorHandler final : public NamespaceErrorHandler {
7575
public:
7676
/// \brief Returns the singleton instance
7777
static const std::shared_ptr<DropNamespaceErrorHandler>& Instance();
@@ -83,7 +83,7 @@ class ICEBERG_REST_EXPORT DropNamespaceErrorHandler : public NamespaceErrorHandl
8383
};
8484

8585
/// \brief Table-level error handler.
86-
class ICEBERG_REST_EXPORT TableErrorHandler : public DefaultErrorHandler {
86+
class ICEBERG_REST_EXPORT TableErrorHandler final : public DefaultErrorHandler {
8787
public:
8888
/// \brief Returns the singleton instance
8989
static const std::shared_ptr<TableErrorHandler>& Instance();
@@ -95,7 +95,7 @@ class ICEBERG_REST_EXPORT TableErrorHandler : public DefaultErrorHandler {
9595
};
9696

9797
/// \brief View-level error handler.
98-
class ICEBERG_REST_EXPORT ViewErrorHandler : public DefaultErrorHandler {
98+
class ICEBERG_REST_EXPORT ViewErrorHandler final : public DefaultErrorHandler {
9999
public:
100100
/// \brief Returns the singleton instance
101101
static const std::shared_ptr<ViewErrorHandler>& Instance();
@@ -107,7 +107,7 @@ class ICEBERG_REST_EXPORT ViewErrorHandler : public DefaultErrorHandler {
107107
};
108108

109109
/// \brief Table commit operation error handler.
110-
class ICEBERG_REST_EXPORT TableCommitErrorHandler : public DefaultErrorHandler {
110+
class ICEBERG_REST_EXPORT TableCommitErrorHandler final : public DefaultErrorHandler {
111111
public:
112112
/// \brief Returns the singleton instance
113113
static const std::shared_ptr<TableCommitErrorHandler>& Instance();
@@ -119,7 +119,7 @@ class ICEBERG_REST_EXPORT TableCommitErrorHandler : public DefaultErrorHandler {
119119
};
120120

121121
/// \brief View commit operation error handler.
122-
class ICEBERG_REST_EXPORT ViewCommitErrorHandler : public DefaultErrorHandler {
122+
class ICEBERG_REST_EXPORT ViewCommitErrorHandler final : public DefaultErrorHandler {
123123
public:
124124
/// \brief Returns the singleton instance
125125
static const std::shared_ptr<ViewCommitErrorHandler>& Instance();

0 commit comments

Comments
 (0)