Multiple posting error handling

9 views
Skip to first unread message

César González

unread,
Nov 10, 2012, 1:24:30 PM11/10/12
to bat...@googlegroups.com
Hi all, i'm new using batchFb. I'm developing an application that does multiple wall posting. I would like to know how can I check if some of the post request did failed because some reason. I just get an exception when the post that fails is the Later object that I'm executing the get method.

Thanks

Jeff Schnitzer

unread,
Nov 10, 2012, 2:05:18 PM11/10/12
to bat...@googlegroups.com
When you generate a series of Later<?> objects, any that fail will produce an exception when you call get().

If the entire call failed, all the Later<?> objects in that batch will produce the same exception.  If the whole call succeeded but individual requests produced failures, only those particular Later<?>.get() calls will throw the exception.

Jeff
Reply all
Reply to author
Forward
0 new messages