Say my model does some validation of business rules. What's the best way to communicate those errors to the controller, and then (in the case of struts) translate those into ActionError's? It seems that if I want to communicate specific errors, creating Exception's for each case might be excessive. Or maybe I should create a custom Exception with a set of error codes and messages?

Any thoughts? How do others handle this?

Nick


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to