Of course! *slaps forehead*

Thank you Frank, all is well again.

Regards,
David.

On Sep 1, 1:29 pm, Frank Mantek <[EMAIL PROTECTED]> wrote:
> The reason for this is that EntityExists is not an Exception class,  
> but just a constant string, with a value that might be found in the  
> Error code for the AppsException. So instead of:
>
> catch (AppsException.EntityExist)
>
> you do a :
>
> catch (AppsException e)
> {
>         if e.ErrorCode == AppsException.EntityExist...
>
> Regards
>
> Frank Mantek
> Google
> On Sep 1, 2008, at 1:23 PM, [EMAIL PROTECTED] wrote:
>
>
>
>
>
> > Hi,
>
> > I'm using version 1.1.3.0 as it seems to be the latest version that
> > will work with Visual Studio 2003 (...and yes I'm limited to this
> > version for now on this current project).
>
> > When trapping exceptions I do get the AppsException but I can't seem
> > to pin the issue down any deeper than that.
>
> > For example when using CreateUser I tried trapping specific exceptions
> > like AppsException.EntityExists, but after typing 'AppsException.'
> > visual studio didn't seem to want to offer any possible options. If I
> > type in the full 'AppsException.EntityExists' in the catch section
> > then the text is underlined to show there's an issue with it and
> > hovering my mouse over it pops up "Type 'AppsException.EntityExists'
> > is not defined."
>
> > Now could this be due to the version of the DLLs I'm limited to using,
> > or is something more sinister happening?
>
> > I've also tried Google.GData.Apps.AppsException.EntityExists just in
> > case but I get the same error.
>
> > Regards,
> > David.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to