Tuesday, January 3, 2012

[YouTube-API] how to capture NoLinkedYouTubeAccount

below is how i capture the error, may i know what technique do you
follks using ?

try{

service.getFormUploadToken(..)

}catch(Exception e){


if(e.printStack().contains("NoLinkedYouTubeAccount"){
//do something
}

}

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment