• Post Reply Bookmark Topic Watch Topic
  • New Topic

NOTFOUNDEXCEPTION issue for MIME type JSON!!!!  RSS feed

 
sruti vijay
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Trying to handle an exception whereby when the response is null , a user friendly msg will be displayed... WE are using "NotFoundException" method to handle the exception whereby response is null it displays the exception msg.

This works fine for MIME type JSON but shows "WEB PAGE NOT AVAILABLE" for xml.....

PLEASE HELP...

THANKS AND REGARDS
Sruthi
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!