Author: ks156
Date: 2009-10-19 14:53:04 +0200 (Mon, 19 Oct 2009)
New Revision: 5731

Modified:
   
software_suite_v3/software/plugin/plugin-twitter/branches/random_sentences/plugin-twitter/src/TwitterPlugin.java
Log:
* Applied changes made in the trunk.
  The trunk has not been merged, because too many conflicts appeared.


Modified: 
software_suite_v3/software/plugin/plugin-twitter/branches/random_sentences/plugin-twitter/src/TwitterPlugin.java
===================================================================
--- 
software_suite_v3/software/plugin/plugin-twitter/branches/random_sentences/plugin-twitter/src/TwitterPlugin.java
    2009-10-19 12:47:35 UTC (rev 5730)
+++ 
software_suite_v3/software/plugin/plugin-twitter/branches/random_sentences/plugin-twitter/src/TwitterPlugin.java
    2009-10-19 12:53:04 UTC (rev 5731)
@@ -382,7 +382,14 @@
             {
                 if ( ! this.getCommand().equalsIgnoreCase("check") )
                 {
-                    throwMessage("Twitter is busy for now, please, try again 
later.");
+                    if (badRequest.getMessage().contains("401"))
+                    {
+                        throwMessage("Sorry, there was an error when 
connecting to Twitter. Please check your Twitter configuration.");
+                    }
+                    else
+                    {
+                        throwMessage("Twitter is busy for now, please, try 
later.");
+                    }
                 }
 
                 this.quitGadget();


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to