It is expected behavior to throw IOE if you cannot connect. HTTP
status 404 can only be sent after connection succeeded. Peter

On Sep 21, 7:08 am, hector <hrov...@gmail.com> wrote:
> I'm using the URLFetchService to access some web services from my
> domain.  Today I was testing the connection to one of my services, but
> I didn't realize that my app server was down.
>
> The expected behavior was that I would get a 404 in the HTTPResponse,
> but instead I'm seeing a java.io.IOException.
>
> Here's the top of the stacktrace.  Hope this helps...
>
> Uncaught exception from servlet
> java.io.IOException: Could not fetch 
> URL:https://.../google-dsapi-svc/addama/datasources/...
>         at
> com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationExc­eption(URLFetchServiceImpl.java:
> 106)
>         at
> com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchService­Impl.java:
> 39)
>         at
> org.systemsbiology.addama.coresvcs.gae.services.Proxy.doProxy(Proxy.java:
> 183)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to