Like I said, you have to extend the class and override the error method. 

Sent from my iPhone

On Mar 27, 2012, at 2:29 AM, Shawn Heisey <s...@elyograg.org> wrote:

> On 3/26/2012 10:25 PM, Shawn Heisey wrote:
>> The problem is that I currently have no way (that I know of so far) to 
>> detect that a problem happened.  As far as my code is concerned, everything 
>> worked, so it updates my position tracking and those documents will never be 
>> inserted.  I have not yet delved into the response object to see whether it 
>> can tell me anything.  My code currently assumes that if no exception was 
>> thrown, it was successful.  This works with CHSS.  I will write some test 
>> code that tries out various error situations and see what the response 
>> contains.
> 
> I've written some test code.  When doing an add with SUSS against a server 
> that's down, no exception is thrown.  It does throw one for query and 
> deleteByQuery.  When doing the add test with CHSS, an exception is thrown.  I 
> guess I'll just have to use CHSS until this gets fixed, assuming it ever 
> does.  Would it be at all helpful to file an issue in jira, or has one 
> already been filed?  With a quick search, I could not find one.
> 
> Thanks,
> Shawn
> 

Reply via email to