TResponse return codes

What is the recommended way to do error handling on insert/update/delete? In these cases, one gets back a TResponse, but I’m unsure of what the error codes are for TResponse#getReturnValue(). I have found the documentation for two sets of Tamino Messages and Codes: General Messages – but, for instance, I couldn’t find a message that simply said, “Insert succeeded.”

Thanks.

Hello Phil,

with the Tamino API for Java I think that the recommended way to handle errors is to handle the Exceptions which the various methods declare and throw.

I believe that Tamino will always return a zero response code for a successful operation.
So if you get “0” from TResponse.getReturnValue() the operation probably succeeded.

Hope that helps,
Trevor.