taksan / skype-java-api

Skype API for Java, based on Skype4Java library
128 stars 60 forks source link

Skype.addCallListener is not exception-safe (transactional) #4

Closed scf37 closed 12 years ago

scf37 commented 12 years ago

what it does: -adds new listener as requested -throws exception because it is unable to connect to Skype

what it should do:

Why it should work in this way: -usually user expects no state changing in case of exception -there is no javadoc saying "listener will be added EVEN IN CASE OF ERROR" (what error? any error? list of specific errors?)