Skip to content

Commit

Permalink
Update user_defined_exception.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Oct 17, 2024
1 parent 29e1c5a commit 992ed5f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ using namespace xtd::diagnostics;
namespace user_defined_exception {
class employee_list_not_found_exception : public exception {
public:
employee_list_not_found_exception(const stack_frame& sf = stack_frame::current()) : exception {"The employee list does not exist."_t, sf} {
employee_list_not_found_exception(const stack_frame& frame = stack_frame::current()) : exception {"The employee list does not exist."_t, frame} {
}

employee_list_not_found_exception(const string& message, const stack_frame& sf = stack_frame::current()) : exception {message, sf} {
employee_list_not_found_exception(const string& message, const stack_frame& frame = stack_frame::current()) : exception {message, frame} {
}

template<typename exception_t>
employee_list_not_found_exception(const string& message, const exception_t& inner, const stack_frame& sf = stack_frame::current()) : exception {message, inner, sf} {
employee_list_not_found_exception(const string& message, const exception_t& inner, const stack_frame& frame = stack_frame::current()) : exception {message, inner, frame} {
}
};
}
Expand Down

0 comments on commit 992ed5f

Please sign in to comment.