| 14 | } |
| 15 | |
| 16 | std::string ApprovalMismatchException::format(const std::string& received, |
| 17 | const std::string& approved) |
| 18 | { |
| 19 | std::stringstream s; |
| 20 | s << "Failed Approval: \n" |
| 21 | << "Received does not match approved \n" |
| 22 | << "Received : \"" << received << "\" \n" |
| 23 | << "Approved : \"" << approved << "\""; |
| 24 | return s.str(); |
| 25 | } |
| 26 | |
| 27 | ApprovalMismatchException::ApprovalMismatchException(const std::string& received, |
| 28 | const std::string& approved) |
nothing calls this directly
no outgoing calls
no test coverage detected