The exception stores the HttpStatus and HttpHeaders of the failed request
[facebook-errors] / src / main / java / de / juplo / facebook / errors / UnexpectedErrorException.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  * 2: An unexpected error has occurred.
12  * @author Kai Moritz
13  */
14 public class UnexpectedErrorException extends OAuthException
15 {
16   protected UnexpectedErrorException(
17       HttpStatus status,
18       HttpHeaders headers,
19       FacebookErrorMessage error
20       )
21   {
22     super(status, headers, error);
23   }
24 }