-
Notifications
You must be signed in to change notification settings - Fork 277
Cleanup error handling in format_strings.cpp #2958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup error handling in format_strings.cpp #2958
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passed Diffblue compatibility checks (cbmc commit: 1dd6f70).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/84841239
src/goto-programs/format_strings.cpp
Outdated
@@ -175,7 +178,8 @@ void parse_conversion_specifier( | |||
} | |||
|
|||
default: | |||
throw std::string("unsupported format conversion specifier: `")+*it+"'"; | |||
throw deserialization_exceptiont( | |||
std::string("unsupported format conversion specifier: `") + *it + "'"); | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is entirely unrelated to deserialisation.
The system_error_exception introduced here appears to be unrelated to anything in format_strings.cpp. |
1dd6f70
to
fead175
Compare
Rebased to pickup newer exception classes and now using one of the new exception classes as a more appropriate exception type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passed Diffblue compatibility checks (cbmc commit: fead175).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/85445548
No description provided.