Class OperationNotPermittedException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by
                  extended by
All Implemented Interfaces:
Direct Known Subclasses:

public class OperationNotPermittedException
extends SocialException

Indicates an HTTP 403 (Forbidden) response from making a call to a social network's API.

In the case of Twitter, this often means that you are attempting to post a duplicate tweet or have reached an update limit.

See Also:
Serialized Form

Constructor Summary
OperationNotPermittedException(java.lang.String message)
OperationNotPermittedException(java.lang.String message, java.lang.Throwable cause)
Method Summary
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


public OperationNotPermittedException(java.lang.String message)


public OperationNotPermittedException(java.lang.String message,
                                      java.lang.Throwable cause)