[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] I need a new error code

From: Patrick Mayweg <mayweg_at_qint.de>
Date: 2004-05-23 17:18:40 CEST

Hi Peter,

Peter N. Lundblad wrote:

>On Sun, 23 May 2004, Patrick Mayweg wrote:
>
>
>
>>Index: subversion/include/svn_error_codes.h
>>===================================================================
>>--- subversion/include/svn_error_codes.h (revision 9852)
>>+++ subversion/include/svn_error_codes.h (working copy)
>>@@ -853,6 +853,10 @@
>> SVN_ERR_MISC_CATEGORY_START + 19,
>> "Incompatible library version")
>>
>>+ SVN_ERRDEF (SVN_ERR_JAVAHL_EXCEPTION_RECEIVED,
>>+ SVN_ERR_MISC_CATEGORY_START + 20,
>>+ "Java exception has been reveived from callback")
>>
>>
> ^
>reveived? :-)
>
>
Thanks for correction

>BTW, do you really receive an exception? Don't you catch it?
>
>
Not from native (C) code. When I detect that a java exception has been
thrown, I normally return to java.
When I detect a java exception from a java callback method, I have to
return an error to subversion to end processing. I need this error for
this case. When I process the error return from the outter subversion
call, I do not want to throw another exception.
Patrick

>Regards,
>//Peter
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 23 17:18:58 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.