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

[Subclipse-users] lock errors

From: Cain, Tom <tcain_at_solekai.com>
Date: 2006-08-21 21:46:40 CEST

Hello,

As mentioned in a previous post, we intend to use the ISVNClientAdapter
API within a plugin we are developing. However, one thing I noticed is
that some errors are not thrown as exceptions, but rather posted to the
ISVNNotifyListener. For example, the ISVNClientAdapter.lock method does
not throw an exception in either of the following two error cases:

1. Another user has the file locked
2. The local file is not up to date with the SVN repository

 

Instead, the ISVNNotifyListener.logError is invoked with the error
message. I understand different error handling strategies exist, but I
would assume that there would be some indication to the caller of the
lock method that the lock failed (i.e. a Boolean return value, an
exception, etc). Is this the expected behavior? Is there any plans on
improving the API to return error information?

 

Thanks,

Tom
Received on Mon Aug 21 22:01:18 2006

This is an archived mail posted to the Subclipse Users mailing list.

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