Results 1 to 1 of 1
- 09-27-2008, 09:05 AM #1
Member
- Join Date
- Sep 2008
- Posts
- 1
- Rep Power
- 0
Display Message Without Throwing Exception
In Below code i am displaying message by throwing an Exception but my requirement is displaying the same message but without throwing that exception.Is there any other way to display the message in visual web JSF page without throwing exception.
public void uname_validate(FacesContext context, UIComponent component, Object value)
{
if(true)
{
throw new ValidatorException(new FacesMessage("Hello");
}
}
Similar Threads
-
Main method throwing specific Exception
By bugger in forum New To JavaReplies: 5Last Post: 05-13-2009, 02:34 PM -
Display success message in same page when submit button is clicked
By am17mu in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 03-29-2008, 10:56 AM -
Getting Exception message into a String
By Java Tip in forum Java TipReplies: 0Last Post: 02-04-2008, 09:31 AM -
throwing Exception
By bugger in forum New To JavaReplies: 3Last Post: 11-09-2007, 09:35 PM -
Which statement is throwing a runtime error....
By money123 in forum New To JavaReplies: 1Last Post: 07-30-2007, 12:55 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks