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

Custom Error Messages for StoreUpdateFailedException #1249

Open
bennetkammer opened this issue Feb 13, 2024 · 0 comments
Open

Custom Error Messages for StoreUpdateFailedException #1249

bennetkammer opened this issue Feb 13, 2024 · 0 comments

Comments

@bennetkammer
Copy link

Hi Guys,
i implemented various testcases, which per default disable store updates. I would like to let the developers know why the test failed and especially at which point or class the change happens.

I am aware about custom error messages, but unfortunately this doesn't apply to exceptions. My current approach is to throw my own exception, pointing towards the JavaClass which throws the StoreUpdatedFailedException. However, it seems that the framework is not designed to check rules on individual Java classes.
Is there any possibility to extract the specific JavaClass that throws the exception?

Thanks for any assistance

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

No branches or pull requests

1 participant