sampurnachhantyal / caldav4j

Automatically exported from code.google.com/p/caldav4j
0 stars 0 forks source link

Connection and credentials check #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Couldn't find any. Tried to 
 use a workaround by trying to delete a non existing query, but wrong url
(calendar's colection UID), wrong credentials and the non existing query -
all produce the same exception.

Original issue reported on code.google.com by michal.g...@gmail.com on 6 Aug 2008 at 7:53

GoogleCodeExporter commented 8 years ago
Can you submit a method for trunk?
Thx,
R.

Original comment by robipo...@gmail.com on 7 Sep 2008 at 1:48

GoogleCodeExporter commented 8 years ago
Hi Guys,
For this problem, I have implemented a check method that tries to get the 
requested
calendar before doing anything and reports many kinds of Networking Exceptions. 
As a
matter of fact, it would be great if this was done within the library

This is what I do in my application (see attached) before any calendar 
manipulation

Original comment by cteaudaxis on 11 Aug 2009 at 9:00

Attachments:

GoogleCodeExporter commented 8 years ago
I'll take a look asap.

thx+Peace,
R.

Original comment by robipo...@gmail.com on 17 Aug 2009 at 2:51

GoogleCodeExporter commented 8 years ago
This could be implemented in a Manager class.
An idea is to add a Manager class in the caldav4j code, instead of lefting it 
as an
exercise to the reader.

The connect then will be a separate method used for setting username/password 
and
setting some calendar collection properties..

Original comment by robipo...@gmail.com on 12 Mar 2010 at 3:47

GoogleCodeExporter commented 8 years ago
Use the OPTIONS method implemented in CalDAVCollection. In the next release 
more 
exceptions will be thrown by caldav4j

Original comment by robipo...@gmail.com on 29 Apr 2010 at 1:23