This thread is also relevant to the discussion:

http://groups.google.com/group/google-calendar-help-dataapi/browse_thread/thread/4ebfd7d33ba8486/3dad688374abeddc

In that thread, Kyle Marvin wrote:

If you could also log the value of ServiceException.getResponseBody()
when you encounter a ServiceException, this could be helpful.   This
will contain the body of the HTTP error response that was sent back
from the server and might contain additional information that could
help to narrow down the problem.

This clearly indicates that there is status information returned by
ServiceException. getResponseBody() that is not returned in any other
way.

Note that the status information returned by getResponseBody() is a
verbose
HTML block, with a myriad of tags and even embedded CSS style data.
The actual status message is a small part of that block, and could
easily
be returned separately in ServiceException.getMessage() or otherwise.

Also, the HTLM block returned from getResponseBody(), while valid
HTML 4.0.1, is not valid XHTML, so it can't easily be parsed via an
XML
parser without further modification.  That makes it more challenging
to
extract just the actual status message from the block.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to