In my programe if user input an invalid input I will check the correctness of user input one by one,then popup a dialog to show their invalid input. In this way I can't orgnize my code well, so many codes to check every where.
I want to know is there a framework to do this or some methords. How do you often do this?
Thank you in advance.