Splash › Forums › PrettyFaces Users › "Invalid number of parameters supplied for pattern" error
Tagged: annotations, error, parameters, path parameters
This topic contains 32 replies, has 5 voices, and was last updated by albatros 7 years, 10 months ago.
An error like this represents a development mistake, not a runtime failure. That’s something that should be caught before deployment.
I agree with Lincoln. Throwing a RuntimeException is the right way to go.
However I updated the exception message a bit so that developers can see more easily what is going wrong.
Thanks guys for your reply,
I managed to get the page rendered. It was a silly mistake. Next I’ll try to get pretty links
You must be logged in to reply to this topic.
Comments are closed.
If you find our tools useful, please consider making a donation to help us stay online and building software!