How to validate Login Details using Google apps API ?
I am using below code to to create Contact Service and to Validate login Details:

ContactsService obj_ContactService = new ContactsService("");
obj_ContactService.setUserCredentials(userEmail, password);


But even if user enters invalid detail above code does not throw any exception.

User get verified only when i call "Insert" query **after adding whole contact details**.
But in my application i want to notify user immediately after user enters login details.


Thanx
How to validate Login Details using Google apps API ?
===

I am using below code to to create Contact Service and to Validate login Details:

ContactsService obj_ContactService = new ContactsService("");
obj_ContactService.setUserCredentials(userEmail, password);


But even if user enters invalid detail above code does not throw any exception.

User get verified only when i call "Insert" query **after adding whole contact details**.
But in my application i want to notify user immediately after user enters login details.


Thanx