| /openbmc/telemetry/src/ |
| H A D | errors.cpp | 10 InvalidArgument::InvalidArgument(std::string_view propertyNameArg) : in InvalidArgument() function in errors::InvalidArgument 16 InvalidArgument::InvalidArgument(std::string_view propertyNameArg, in InvalidArgument() function in errors::InvalidArgument 24 const char* InvalidArgument::name() const noexcept in name() 29 const char* InvalidArgument::description() const noexcept in description() 34 const char* InvalidArgument::what() const noexcept in what() 39 int InvalidArgument::get_errno() const noexcept in get_errno()
|
| H A D | errors.hpp | 11 class InvalidArgument final : public sdbusplus::exception::internal_exception class 14 explicit InvalidArgument(std::string_view propertyName); 15 InvalidArgument(std::string_view propertyName, std::string_view info);
|
| /openbmc/telemetry/tests/src/ |
| H A D | test_make_id_name.cpp | 33 errors::InvalidArgument); in TEST_F() 98 errors::InvalidArgument); in TYPED_TEST() 100 errors::InvalidArgument); in TYPED_TEST() 101 EXPECT_THROW(this->makeIdName("/123", "trigger"), errors::InvalidArgument); in TYPED_TEST() 102 EXPECT_THROW(this->makeIdName("/123/", "trigger"), errors::InvalidArgument); in TYPED_TEST() 110 errors::InvalidArgument); in TYPED_TEST() 112 errors::InvalidArgument); in TYPED_TEST() 114 errors::InvalidArgument); in TYPED_TEST() 116 errors::InvalidArgument); in TYPED_TEST() 117 EXPECT_THROW(this->makeIdName(longSuffix, "name"), errors::InvalidArgument); in TYPED_TEST() [all …]
|
| H A D | test_conversion.cpp | 60 EXPECT_THROW(toEnum(-1), errors::InvalidArgument); in TEST_F() 61 EXPECT_THROW(toEnum(3), errors::InvalidArgument); in TEST_F() 87 EXPECT_THROW(enumToString(static_cast<Enum>(77)), errors::InvalidArgument); in TEST_F() 92 EXPECT_THROW(toEnum("four"), errors::InvalidArgument); in TEST_F()
|
| /openbmc/phosphor-debug-collector/ |
| H A D | dump_utils.hpp | 235 using InvalidArgument = in extractOriginatorProperties() typedef 236 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument; in extractOriginatorProperties() 237 using Argument = xyz::openbmc_project::Common::InvalidArgument; in extractOriginatorProperties() 260 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ORIGINATOR_ID"), in extractOriginatorProperties() 287 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ORIGINATOR_TYPE"), in extractOriginatorProperties() 317 using InvalidArgument = in extractParameter() typedef 318 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument; in extractParameter() 319 using Argument = xyz::openbmc_project::Common::InvalidArgument; in extractParameter() 332 elog<InvalidArgument>(Argument::ARGUMENT_NAME(key.c_str()), in extractParameter() 355 using InvalidArgument = in getErrorDumpType() typedef [all …]
|
| H A D | dump_types.cpp.mako | 81 using InvalidArgument = 82 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument; 83 using Argument = xyz::openbmc_project::Common::InvalidArgument; 104 elog<InvalidArgument>(Argument::ARGUMENT_NAME("BMC_DUMP_TYPE"),
|
| /openbmc/phosphor-certificate-manager/bmc-vmi-ca/ |
| H A D | ca_certs_manager.cpp | 18 using ::sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument; 20 ::phosphor::logging::xyz::openbmc_project::Common::InvalidArgument; 32 elog<InvalidArgument>(Argument::ARGUMENT_NAME("CSR"), in signCSR() 49 elog<InvalidArgument>(Argument::ARGUMENT_NAME("csr"), in signCSR()
|
| /openbmc/phosphor-networkd/test/ |
| H A D | test_ethernet_interface.cpp | 22 using sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument; 107 InvalidArgument); in TEST_F() 109 InvalidArgument); in TEST_F() 111 InvalidArgument); in TEST_F() 113 InvalidArgument); in TEST_F() 115 InvalidArgument); in TEST_F() 117 InvalidArgument); in TEST_F() 194 EXPECT_THROW(interface.defaultGateway6("127.0.0.10"), InvalidArgument); in TEST_F() 195 EXPECT_THROW(interface.defaultGateway6("0.0.0.0"), InvalidArgument); in TEST_F() 196 EXPECT_THROW(interface.defaultGateway6("224.1.0.0"), InvalidArgument); in TEST_F() [all …]
|
| /openbmc/telemetry/src/utils/ |
| H A D | dbus_path_utils.cpp | 54 throw errors::InvalidArgument("Id", "Invalid prefixes in id."); in verifyIdPrefixes() 59 throw errors::InvalidArgument("Id", "Too many prefixes."); in verifyIdPrefixes() 64 throw errors::InvalidArgument("Id", "Prefix too long."); in verifyIdPrefixes() 72 throw errors::InvalidArgument("Id", "Too long."); in verifyIdPrefixes()
|
| /openbmc/openpower-vpd-parser/vpd-manager/src/ |
| H A D | manager.cpp | 455 types::InvalidArgument::ARGUMENT_NAME("LOCATIONCODE"), in getExpandedLocationCode() 456 types::InvalidArgument::ARGUMENT_VALUE( in getExpandedLocationCode() 485 types::InvalidArgument::ARGUMENT_NAME("LOCATIONCODE"), in getExpandedLocationCode() 486 types::InvalidArgument::ARGUMENT_VALUE( in getExpandedLocationCode() 499 types::InvalidArgument::ARGUMENT_NAME("LOCATIONCODE"), in getFrusByUnexpandedLocationCode() 500 types::InvalidArgument::ARGUMENT_VALUE( in getFrusByUnexpandedLocationCode() 532 types::InvalidArgument::ARGUMENT_NAME("LOCATIONCODE"), in getFrusByUnexpandedLocationCode() 533 types::InvalidArgument::ARGUMENT_VALUE( in getFrusByUnexpandedLocationCode() 561 types::InvalidArgument::ARGUMENT_NAME("LOCATIONCODE"), in getUnexpandedLocationCode() 562 types::InvalidArgument::ARGUMENT_VALUE( in getUnexpandedLocationCode() [all …]
|
| /openbmc/openpower-proc-control/procedures/common/ |
| H A D | cfam_overrides.cpp | 64 phosphor::logging::elog<error::InvalidArgument>( in CFAMOverride() 65 metadata::InvalidArgument::ARGUMENT_NAME("line"), in CFAMOverride() 66 metadata::InvalidArgument::ARGUMENT_VALUE( in CFAMOverride()
|
| /openbmc/pldm/platform-mc/ |
| H A D | numeric_sensor.cpp | 166 InvalidArgument(); in setSensorUnit() 178 throw sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument(); in NumericSensor() 220 throw sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument(); in NumericSensor() 308 InvalidArgument(); in NumericSensor() 326 InvalidArgument(); in NumericSensor() 338 throw sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument(); in NumericSensor() 351 throw sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument(); in NumericSensor() 365 throw sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument(); in NumericSensor() 382 InvalidArgument(); in NumericSensor() 401 InvalidArgument(); in NumericSensor() [all …]
|
| /openbmc/phosphor-net-ipmid/command/ |
| H A D | guid.cpp | 29 using Argument = xyz::openbmc_project::Common::InvalidArgument; in rfcToGuid() 44 elog<InvalidArgument>(Argument::ARGUMENT_NAME("rfc4122"), in rfcToGuid() 56 elog<InvalidArgument>(Argument::ARGUMENT_NAME("rfc4122"), in rfcToGuid() 102 catch (const InvalidArgument& e) in getSystemGUID()
|
| /openbmc/phosphor-bmc-code-mgmt/bmc/ |
| H A D | download_manager.cpp | 34 using Argument = xyz::openbmc_project::common::InvalidArgument; in downloadViaTFTP() 47 elog<InvalidArgument>(Argument::ARGUMENT_NAME("FileName"), in downloadViaTFTP() 55 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ServerAddress"), in downloadViaTFTP()
|
| /openbmc/bios-settings-mgr/src/ |
| H A D | manager.cpp | 231 throw InvalidArgument(); in pendingAttributes() 241 throw InvalidArgument(); in pendingAttributes() 251 throw InvalidArgument(); in pendingAttributes() 261 throw InvalidArgument(); in pendingAttributes() 271 throw InvalidArgument(); in pendingAttributes() 281 throw InvalidArgument(); in pendingAttributes() 290 throw InvalidArgument(); in pendingAttributes()
|
| /openbmc/phosphor-snmp/ |
| H A D | snmp_conf_manager.cpp | 25 using Argument = xyz::openbmc_project::Common::InvalidArgument; 47 elog<InvalidArgument>(Argument::ARGUMENT_NAME("Address"), in client() 73 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ADDRESS"), in checkClientConfigured() 85 elog<InvalidArgument>( in checkClientConfigured()
|
| /openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/ |
| H A D | dump_manager_resource.cpp | 124 using InvalidArgument = in createDump() typedef 125 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument; in createDump() 126 using Argument = xyz::openbmc_project::Common::InvalidArgument; in createDump() 161 elog<InvalidArgument>(Argument::ARGUMENT_NAME("VSP_STRING"), in createDump() 186 elog<InvalidArgument>(Argument::ARGUMENT_NAME("PASSWORD"), in createDump()
|
| /openbmc/phosphor-snmp/test/ |
| H A D | test_snmp_client.cpp | 15 using InvalidArgument = typedef 16 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument; 63 EXPECT_THROW(client.address(""), InvalidArgument); in TEST_F()
|
| H A D | test_snmp_conf_manager.cpp | 16 using InvalidArgument = typedef 17 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument; 125 EXPECT_THROW(createSNMPClient("192.168.1.1", 24), InvalidArgument); in TEST_F()
|
| /openbmc/phosphor-certificate-manager/test/ |
| H A D | ca_certs_manager_test.cpp | 17 using InvalidArgument = typedef 18 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument; 79 EXPECT_THROW(objPath = manager.createCSRObject(csrString), InvalidArgument); in TEST_F()
|
| /openbmc/phosphor-user-manager/phosphor-ldap-config/ |
| H A D | ldap_config_mgr.cpp | 32 using Argument = xyz::openbmc_project::Common::InvalidArgument; 104 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ldapServerURI"), in createConfig() 119 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LDAPBindDN"), in createConfig() 127 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LDAPBaseDN"), in createConfig()
|
| H A D | ldap_config.cpp | 43 using Argument = xyz::openbmc_project::Common::InvalidArgument; 376 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ldapServerURI"), in ldapServerURI() 399 catch (const InvalidArgument& e) in ldapServerURI() 429 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ldapBindDN"), in ldapBindDN() 446 catch (const InvalidArgument& e) in ldapBindDN() 472 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ldapBaseDN"), in ldapBaseDN() 489 catch (const InvalidArgument& e) in ldapBaseDN() 788 elog<InvalidArgument>(Argument::ARGUMENT_NAME("Group name"), in checkPrivilegeMapper() 808 elog<InvalidArgument>(Argument::ARGUMENT_NAME("Privilege level"), in checkPrivilegeLevel() 815 elog<InvalidArgument>(Argument::ARGUMENT_NAME("Privilege"), in checkPrivilegeLevel()
|
| /openbmc/phosphor-user-manager/test/ |
| H A D | user_mgr_test.cpp | 558 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F() 592 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F() 602 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F() 605 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F() 678 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F() 692 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F() 695 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F() 810 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F() 840 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F() 1080 sdbusplus::xyz::openbmc_project::Common::Error::InvalidArgument); in TEST_F() [all …]
|
| /openbmc/openpower-proc-control/ |
| H A D | proc_control.cpp | 93 catch (const common_error::InvalidArgument& e) in main() 95 commit<common_error::InvalidArgument>(); in main()
|
| /openbmc/phosphor-networkd/src/ |
| H A D | system_configuration.cpp | 19 using Argument = xyz::openbmc_project::Common::InvalidArgument; 95 elog<InvalidArgument>(Argument::ARGUMENT_NAME("Hostname"), in hostName()
|