org.shredzone.flattr4j.exception
Class ForbiddenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.shredzone.flattr4j.exception.FlattrException
org.shredzone.flattr4j.exception.FlattrServiceException
org.shredzone.flattr4j.exception.ForbiddenException
- All Implemented Interfaces:
- Serializable
public class ForbiddenException
- extends FlattrServiceException
This exception is used when the operation is forbidden. There are several causes for
this:
- insufficient permissions, see
Scope
- the operation is not allowed (e.g. flattering an own thing)
The message contains the reason for the exception.
- Author:
- Richard "Shred" Körber
- See Also:
- Serialized Form
ForbiddenException
public ForbiddenException(String code,
String msg)
Copyright © 2010-2012. All Rights Reserved.