db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunitha Kambhampati <ksunitha...@gmail.com>
Subject [PATCH] To add comments to DRDAProtocolExceptionInfo ( was Re: Question about DRDAProtocolExceptionInfo fields.)
Date Mon, 17 Jul 2006 17:59:29 GMT
Thanks Knut Anders. I agree with them.  I am attaching a patch to add 
these comments to the code.

svn stat
M      java\drda\org\apache\derby\impl\drda\DRDAProtocolExceptionInfo.java

Can someone please commit this patch if it looks ok. This patch has only 
comments added, so I did ant clobber and ant all and the build went 
fine.  I have not run any tests.

Thanks,
Sunitha.

Knut Anders Hatlen wrote:

>Sunitha Kambhampati <ksunithaghm@gmail.com> writes:
>
>  
>
>>DRDAProtocolExceptionInfo has 4 fields.   The comments are unclear to
>>me. Does anyone know what is the difference between the errorCodePoint
>>and the errCdCodePoint ?
>>    
>>
>
>I'm just guessing here, but it seems to me that errorCodePoint
>specifies the code point of the error reply message, whereas
>errCdCodePoint specifies the code point of an extra required field in
>that reply message. Most error reply messages have one or two required
>fields that are quite common, like SVRCOD (severity code) or RDBNAM
>(database name). Some error reply messages additionally have required
>fields that are specific to them. errCdCodePoint is used to specify
>these. For instance, SYNTAXRM has a required field called SYNERRCD,
>and PRCCNVRM has a required field called PRCCNVCD.
>  
>
<snip examples>

Mime
View raw message