Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NOTFOUNDEXCEPTION issue for MIME type JSON!!!!

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic