Skip to content

Commit f568a15

Browse files
authored
Merge pull request #30027 from WillemKauf/exception_print_fix
2 parents a13a0aa + d615293 commit f568a15

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/v/cloud_storage_clients/abs_error.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ enum class abs_error_code {
4848
std::istream& operator>>(std::istream& i, abs_error_code& code);
4949

5050
/// Error received in a response from the server
51-
class abs_rest_error_response : std::exception {
51+
class abs_rest_error_response : public std::exception {
5252
public:
5353
abs_rest_error_response(
5454
ss::sstring code,

src/v/cloud_storage_clients/s3_error.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ std::ostream& operator<<(std::ostream& o, s3_error_code code);
167167
std::istream& operator>>(std::istream& i, s3_error_code& code);
168168

169169
/// Error received in a response from the server
170-
class rest_error_response : std::exception {
170+
class rest_error_response : public std::exception {
171171
public:
172172
rest_error_response(
173173
std::string_view code,

src/v/datalake/partition_key_path.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace datalake {
1717
/**
1818
* Error in partition key to path conversion
1919
*/
20-
class partition_key_error : std::exception {
20+
class partition_key_error : public std::exception {
2121
public:
2222
explicit partition_key_error(std::string msg) noexcept
2323
: msg_(std::move(msg)) {}

src/v/iceberg/transform_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include "iceberg/values.h"
1515

1616
namespace iceberg {
17-
class partition_spec_field_error : std::exception {
17+
class partition_spec_field_error : public std::exception {
1818
public:
1919
explicit partition_spec_field_error(std::string msg) noexcept
2020
: msg_(std::move(msg)) {}

src/v/net/batched_output_stream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
namespace net {
2323

24-
class batched_output_stream_closed : std::exception {
24+
class batched_output_stream_closed : public std::exception {
2525
public:
2626
batched_output_stream_closed(size_t ignored_bytes)
2727
: msg(

src/v/rpc/exceptions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include <exception>
1919

2020
namespace rpc {
21-
class request_timeout_exception final : std::exception {
21+
class request_timeout_exception final : public std::exception {
2222
public:
2323
explicit request_timeout_exception(ss::sstring what)
2424
: what_(std::move(what)) {}

src/v/wasm/parser/leb128.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ bytes encode(int_type value) {
5959
return output;
6060
}
6161

62-
class decode_exception : std::exception {};
62+
class decode_exception : public std::exception {};
6363

6464
template<typename int_type>
6565
int_type decode(iobuf_parser_base* stream) {

0 commit comments

Comments
 (0)