Hello Darren,

 

To display the exception on the UI, it is necessary to catch the same in
your Bean method either directly or wrapped in a custom exception. I
guess passing the exception caught, wrapped in a custom exception, to
the bean is a better way.

 

Thanks

~Sandeep

 

________________________________

From: Darren McEntee [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 1:47 PM
To: MyFaces Discussion
Subject: [Trinidad] display exception

 

Hi i'm wondering what way you would display a caught exception to the
user via the trinidad.
So for example if we lost connection, or our web servics could not be
contacted, how would you get this message back to the user, instead of
it sitting in silence. 

Thanks,
Darren.


  
P Please consider the environment before printing this email 

_________________________________________________________ 
 
1. The information contained in this E-mail, including any files
transmitted with it, is confidential and may be legally privileged. This
E-mail is intended only for the personal attention of the stated
addressee(s). Any access to this E-mail, including any files transmitted
with it, by any other person is unauthorised. If you are not an
addressee, you must not disclose, copy, circulate or in any other way
use or rely on the information contained in this E-mail or any files
transmitted with it. Such unauthorised use may be unlawful. If you have
received this E-mail in error, please inform the sender immediately and
delete it and all copies from your system. You may not forward this
E-mail without the permission of the sender.
 
2. The views expressed in this E-mail are those of the author, and do
not necessarily represent the views of AMT-SYBEX. Internet
communications are not secure and AMT-SYBEX cannot, therefore, accept
legal responsibility for the contents of this message nor for any damage
caused by viruses. 
  

AMT-SYBEX Limited is a UK company, registration number GB03036807 at
address The Spirella Building, Bridge Road, Letchworth, SG6 4ET.  

AMT-SYBEX (NI) Limited is a UK company, registration number NI024104 at
address Edgewater Office Park, Edgewater Rd, Belfast, BT3 9JQ.
For more information on the AMT-SYBEX Group visit
http://www.amt-sybex.com <http://www.amt-sybex.com/> 
_________________________________________________________ 

Reply via email to