How to write Custom exception in java for web application?
I want to throw some custom exception to user when they hit controller and if some business logic gets fail then they get the custom error message.Please Provide some sample example for same. Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire