From: Dimitry S. <sd...@ib...> - 2010-01-11 10:05:06
|
11.01.2010 10:53, Dmitry Yemanov wrote: > The formatted exception may either reuse the same error code and send > the already formatted error message to the client or use the new > isc_formatted_exception error code with the format text and the > arguments and leave it up to the client to format the message. The > answer depends on whether we care about older clients handling the > exceptions thrown in a new way or not. I would vote for sending formatted exception always as a new error code. It is logical from POV of application programmer who prefer to parse status vector to extract parameters instead of parsing ready text for the same purpose. -- SY, SD. |