-
Feb 11th, 2013, 09:16 AM
#1
Exception handling for REST web services at the client side.
Hi
I have a rest service like,
http://localhost:1001/RestDemo/RestF...123@gmail.com/
if loadUserByEmail finds a user with abc123@gmail.com it returns the user.
Otherwise, this method throws UserNotFoundException.
So, when I type the above URL in browser, I could see, either User Info or Exception Message.
Can anyone please tell me how to extract that exception message when I call the service Using RestTemplate?
What I am geting is 401 response code.. But I could not extract the message..
-
Apr 23rd, 2013, 04:09 PM
#2
Did you find any way to get your exception?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules