Help with throwing error messages captured inside a backing bean to browser
I am using Sun's RI for java server faces. Now if inside the backing bean i catch any exception i would like to throw some meaningful message to the user (ie would like to throw the message in the browser ).The message should be formatted with style class. Is there any standard way of doing this in JSF?If yes then can you provide me with the relevant code?
I would like to keep this error throwing mechanism uniform across the application.

