Assigning the message to a variable should be allowed
Closed this issue · 1 comments
morazow commented
Assigning an error message (with .toString()
call) to a variable should be allowed. Only the builder must not be assigned.
Context: exasol/error-reporting-java#32
pj-spoelders commented
It works when you use the helper method, you don't get these errors then:
Normally you wouldn't be able to use the c'tor like in these tests because it's not public.
Also, using the error crawler on the actual library that defines the parsed errors doesn't make a whole lot of sense to me, neither does crawling the actual tests for error messages since the errors in the error catalog are supposed to be customer facing ones, right?
I'll close this for now.