I am having an exception I do not understand. I'm afraid I'm missing something fundamental here.
I created the following annotation:
When the constraint gets violated, I get the following exception:
I declared the "com.company.constraints.nrnvalidation" property within my resourcebundle, but to me it seems as I can only put a number there? When I did put a number there, everything worked out fine, but in my webapp the error message was "20", what clearly is not what I want.
If anybody has a clue, please share your thoughts!