MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / Exception

Method Exception

libminifi/include/Exception.h:65–67  ·  view source on GitHub ↗

! * Create a new exception */

Source from the content-addressed store, hash-verified

63 * Create a new exception
64 */
65 Exception(ExceptionType type, const std::string& errorMsg)
66 : std::runtime_error{ org::apache::nifi::minifi::utils::StringUtils::join_pack(ExceptionTypeToString(type), ": ", errorMsg) }
67 { }
68
69 Exception(ExceptionType type, const char* errorMsg)
70 : std::runtime_error{ org::apache::nifi::minifi::utils::StringUtils::join_pack(ExceptionTypeToString(type), ": ", errorMsg) }

Callers

nothing calls this directly

Calls 1

ExceptionTypeToStringFunction · 0.85

Tested by

no test coverage detected