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%2bunsubscr...@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