The exception stores the HttpStatus and HttpHeaders of the failed request
[facebook-errors] / src / main / java / de / juplo / facebook / errors / AuthorizationMissingException.java
1 package de.juplo.facebook.errors;
2
3
4 import org.springframework.http.HttpHeaders;
5 import org.springframework.http.HttpStatus;
6
7
8
9
10 /**
11  * 10: Authorization declined / not granted
12  * 200-299: Authorization declined / not granted (multiple values, according to authorization)
13  * @author Kai Moritz
14  * @see https://developers.facebook.com/docs/graph-api/using-graph-api/#errors
15  */
16 public class AuthorizationMissingException extends OAuthException
17 {
18   protected AuthorizationMissingException(
19       HttpStatus status,
20       HttpHeaders headers,
21       FacebookErrorMessage error
22       )
23   {
24     super(status, headers, error);
25   }
26 }