org.springframework.social.core
Class OperationNotPermittedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.social.core.SocialException
org.springframework.social.core.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 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
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 |
OperationNotPermittedException
public OperationNotPermittedException(java.lang.String message)
OperationNotPermittedException
public OperationNotPermittedException(java.lang.String message,
java.lang.Throwable cause)