Skip to content

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

Merged
merged 1 commit into from
Sep 20, 2018

Conversation

chrisr-diffblue
Copy link
Contributor

No description provided.

Copy link
Contributor

@allredj allredj left a 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

@@ -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 + "'");
}
Copy link
Member

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.

@kroening
Copy link
Member

The system_error_exception introduced here appears to be unrelated to anything in format_strings.cpp.

@chrisr-diffblue
Copy link
Contributor Author

Rebased to pickup newer exception classes and now using one of the new exception classes as a more appropriate exception type.

@tautschnig tautschnig merged commit 7f621c8 into diffblue:develop Sep 20, 2018
Copy link
Contributor

@allredj allredj left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants