Hi Don,

thanx for your quick reply.
I am pretty sure I am not catching DeadlineExceededException anywhere
in the code (but I'll check again...).
I've seen some posts in the past and some bugs submitted to google
code that there is an inconsistent behavior with regard to the
deadline error/exception.

Thanx,Lior


On Dec 23, 10:36 pm, Don Schwarz <schwa...@google.com> wrote:
> You cannot catch HardDeadlineExceededError.  DeadlineExceededException
> should be thrown first.
>
> Perhaps some code you are using is silently catching and ignoring it?
>
>
>
> On Wed, Dec 23, 2009 at 4:08 AM, Lior Harsat <lior.har...@gmail.com> wrote:
> > Hi,
>
> > I am trying to build some mechanism for handling
> > HardDeadlineExceededError (and other timeouts as well).
> > I wish to catch this Error and wrap up my work so I can send my own
> > response instead of the default error (500) message that GAE produces.
> > Here's the problem. I cant catch this Error for some reason.I've made
> > sure my catch clause is in the right place (from the error provided
> > stack trace). I even catch a Throwable to make sure I don't miss the
> > Error.
> > Sadly I don't reach the catch clause.
>
> > Has anyone had some experience with this?
> > Do you have some other innovative ideas on how to handle such
> > timeouts ?
>
> > B.T.W
> > I would have expected that a DeadlineExceededException would be thrown
> > instead , dont you?
>
> > Thanx, Lior
>
> > --
>
> > 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<google-appengine-java%2B 
> > unsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine-java?hl=en.

--

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