Skip to content
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

Make sure xodr and xosc crash when exception occurs #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

victorjarlow
Copy link
Contributor

xodr::parse() and xosc::parse() should crash when an exception occurs. If exceptions are caught, then software that uses ad-xolib as a library will have no way of knowing what went wrong in the call stack.

Therefore I moved the try/catch statement to the appln/main_xxx files instead.

@javedulu
Copy link
Owner

Guide-Post doesnt seem to be a valid enum from the xsd of opendrive ?

The code is autogenerated and any further regeneration will override the changes.

Could you please submit a merge request without the guide-post change will go ahead and merge it.,.

@victorjarlow
Copy link
Contributor Author

I've removed the guide-post commit now. Just out of curiosity, what method do you use to autogenerate the code?

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.

2 participants