Thanx for fast response.

The problem is that i throw
"WEB_PLAYER_USERNAME_EXEPTION" with message "Username already exists!"
in stored proc
WEB_PLAYER_I if username already exists.

The content of FBException message is:

"No message for error code 335544382 found.\r\nNo message for error code
335544382 found.\r\nAt procedure 'WEB_PLAYER_I' line: 33, col: 13"

The only way to identify the exception is "line:33" part.
And routine breaks if this changes in stored proc.

So FbException does not mention WEB_PLAYER_USERNAME_EXEPTION or Username
already exists!
anywhere in message, or in error collection.




Jiri Cincura wrote:
> 
> On Mon, Aug 4, 2008 at 9:21 PM, zeko77 <[EMAIL PROTECTED]> wrote:
>>
>> I am using 2.5.0 alpha 2 provider.
> 
> Use 2.1 whis is considered as stable.
> 
>> The problem is that if a throw an exception in stored proc or trigger, i
>> get
>> 'No message for error code 335544382 found.
>> At procedure 'XYZ' line x etc...'
>> The only way to identify exception is to get line number, whisch is
>> cumbersome at least.
> 
> You're probably mixing two things together. First look at
> http://tracker.firebirdsql.org/browse/DNET-162.
> 
>> Why not get an EXCEPTION_NAME or exception message?
>> Was this working before, and now is broken?
>>
>> I know that there were some problems with resource file and other
>> messages
>> were not
>> available, but i don't now if this was relevant for custom db exceptions.
>>
> 
> You should get the message from exception on server side in message of
> FbException.
> 
> -- 
> Jiri {x2} Cincura (CTO x2develop.com)
> http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Firebird-net-provider mailing list
> Firebird-net-provider@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Database-level-exceptions-and-FBExceptions-problem-tp18817844p18819032.html
Sent from the firebird-net-provider mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to