Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion casbin/exception/casbin_adapter_exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
namespace casbin {

// Exception class for Casbin Adapter Exception.
class CasbinAdapterException : std::logic_error {
class CasbinAdapterException : public std::logic_error {
public:
using std::logic_error::logic_error;
};
Expand Down
2 changes: 1 addition & 1 deletion casbin/exception/casbin_enforcer_exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
namespace casbin {

// Exception class for Casbin Enforcer Exception.
class CasbinEnforcerException : std::runtime_error {
class CasbinEnforcerException : public std::runtime_error {
public:
using std::runtime_error::runtime_error;
};
Expand Down
2 changes: 1 addition & 1 deletion casbin/exception/casbin_rbac_exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
namespace casbin {

// Exception class for Casbin Adapter Exception.
class CasbinRBACException : std::invalid_argument {
class CasbinRBACException : public std::invalid_argument {
public:
using std::invalid_argument::invalid_argument;
};
Expand Down
2 changes: 1 addition & 1 deletion casbin/exception/illegal_argument_exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
namespace casbin {

// Exception class for illegal arguments.
class IllegalArgumentException : std::invalid_argument {
class IllegalArgumentException : public std::invalid_argument {
public:
using std::invalid_argument::invalid_argument;
};
Expand Down
2 changes: 1 addition & 1 deletion casbin/exception/io_exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
namespace casbin {

// Exception class for I/O operations.
class IOException : std::runtime_error {
class IOException : public std::runtime_error {
public:
using std::runtime_error::runtime_error;
};
Expand Down
2 changes: 1 addition & 1 deletion casbin/exception/missing_required_sections.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
namespace casbin {

// Exception class for missing required sections.
class MissingRequiredSections : std::domain_error {
class MissingRequiredSections : public std::domain_error {
public:
using std::domain_error::domain_error;
};
Expand Down
2 changes: 1 addition & 1 deletion casbin/exception/unsupported_operation_exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
namespace casbin {

// Exception class for unsupported operations.
class UnsupportedOperationException : std::logic_error {
class UnsupportedOperationException : public std::logic_error {
public:
using std::logic_error::logic_error;
};
Expand Down