Hi Mark,

thanks for your reply. Does that mean I have to parse the error message 
string to get the code?

best regards 
Christoph

Am Mittwoch, 30. November 2016 09:18:22 UTC+1 schrieb mpv1989:
>
> Hi Christoph,
>
> in version 4.1.2 every information of the error is part of the 
> exception.erroMessage.
> The format is: 
> "Response: {errorCode}, Error: {errorNumber} - {errorMessage}"
>
> If no error occurs but the responseCode is 300 or above the errorMessage 
> only contains:
> "Response Code: {responseCode}"
>
>
> Best
> Mark
>
>
> Am Dienstag, 29. November 2016 16:30:48 UTC+1 schrieb Christoph Engel:
>>
>> Hi,
>>
>> I've updated the ArangoDB-driver in my Java project from version 3.0 to 
>> version 4.1.2. With version 3.0 of the ArangoDB-driver I could get an error 
>> number from the ArangoException-Object.
>> ...
>> catch (ArangoException e)
>> {
>>    if(e.getErrorNumber() == ...)
>>    {
>>       ...
>>    }
>> }
>> I've searched a lot of time but I couldn't find something similar for the 
>> version 4.1.2.
>> Is there a chance to get these error numbers (especially for duplicate 
>> document-/edge-keys) from the new ArangoDB-driver? I need it for my own 
>> error handling within my project.
>>
>> best regards 
>> Christoph
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to arangodb+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to