• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cushioning exception from bottom up...

 
aadhi agathi
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,
how to cushion the exceptions from the lower to
the top levels. say, for instance the bookFlight
in my model may throw IO,Remote as well as Database
exception.

do i need to throw ALL the threee exceptions in the bookFlight wihout any
cushioning from my model. but definitely it will hurt the users to see
an "You peformed an illegal operation" than an "Please try later.
our working hours are 00:00 - 00:00 hrs"

please advice.
 
Juan Ec
Ranch Hand
Posts: 46
 
aadhi agathi
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for pointing this out. its really helpful
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic