Jiri Cincura wrote: > > On 11/2/07, paha <[EMAIL PROTECTED]> wrote: >> You are 100% right, i asked the same questions yesterday on russian forum >> to >> know, how sqladapter performs, but still no response. What i can say for >> sure, if you get DBConcurrencyException, you definitely should have >> something in DBConcurrencyException.Row, DBConcurrencyException.RowCount, >> DBConcurrencyException.CopyToRows >> for instance look at this article from msdn >> http://msdn2.microsoft.com/en-us/library/y8fyz6xy(VS.80).aspx > > And here you can say, that the developer is using his own error > message and no the exception message. :) > Correct, but i would like to get from provider original localized messages for standard exceptions like concurrency to identify the exception itself, not to show it direct to user ;-) . It is not perfect, and must be avoided in any way, but if it happened, how can i know what exceptions should be thrown (or actions taken) if i get rows with different RowErrors and no real exception thrown - i can only compare RowErrors with standard Exception messages :) and here i fail, because message for DBConcurrencyException thrown from provider is not standard and doesn't coincide with default message for this case.
-- View this message in context: http://www.nabble.com/DBConcurrencyException-tf4731950.html#a13544095 Sent from the firebird-net-provider mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider