winterwell.jtwitter
Class TwitterException.E403

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by winterwell.jtwitter.TwitterException
                  extended by winterwell.jtwitter.TwitterException.E403
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TwitterException.BadParameter, TwitterException.Repetition, TwitterException.SuspendedUser
Enclosing class:
TwitterException

public static class TwitterException.E403
extends TwitterException

A Forbidden exception. This is thrown if the authenticating used does not have the right to make a request. Possible causes: - Accessing a suspended account (ie. trying to look at messages from a spambot) - Accessing a protected stream - Repeatedly posting the same status - If search is passed a sinceId which is too old. Though the API documentation suggests a 404 should be thrown instead.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class winterwell.jtwitter.TwitterException
TwitterException.BadParameter, TwitterException.E401, TwitterException.E403, TwitterException.E404, TwitterException.E50X, TwitterException.Parsing, TwitterException.RateLimit, TwitterException.Repetition, TwitterException.SuspendedUser, TwitterException.Timeout, TwitterException.TwitLongerException, TwitterException.Unexplained
 
Constructor Summary
TwitterException.E403(java.lang.String string)
           
 
Method Summary
 
Methods inherited from class winterwell.jtwitter.TwitterException
getAdditionalInfo, setAdditionalInfo
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TwitterException.E403

public TwitterException.E403(java.lang.String string)