org.springframework.social
Class OperationNotPermittedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.social.SocialException
                  extended by org.springframework.social.OperationNotPermittedException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DuplicateTweetException

public class OperationNotPermittedException
extends SocialException

Indicates an HTTP 403 (Forbidden) response from making a call to a service provider 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

OperationNotPermittedException

public OperationNotPermittedException(java.lang.String message)

OperationNotPermittedException

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