jQuery in Action, 3rd edition
The moose likes Web Services and the fly likes NOTFOUNDEXCEPTION issue for MIME type JSON!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "NOTFOUNDEXCEPTION issue for MIME type JSON!!!!" Watch "NOTFOUNDEXCEPTION issue for MIME type JSON!!!!" New topic
Author

NOTFOUNDEXCEPTION issue for MIME type JSON!!!!

sruti vijay
Greenhorn

Joined: Nov 18, 2012
Posts: 4
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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: NOTFOUNDEXCEPTION issue for MIME type JSON!!!!
 
It's not a secret anymore!