@Test
public void testError1()
{
- LOG.info("testError1");
-
String str =
"{\n" +
" \"error\":\n" +
@Test
public void testError2()
{
- LOG.info("testError2");
-
-
String str =
"{\n" +
" \"error\":\n" +
@Test
public void testError4()
{
- LOG.info("testError4");
-
-
String str =
"{\n" +
" \"error\": {\n" +
@Test
public void testError12()
{
- LOG.info("testError12");
-
-
String str =
"{\n" +
" \"error\":\n" +
@Test
public void testError21()
{
- LOG.info("testError21");
-
-
String str =
"{\n" +
" \"error\":\n" +
@Test
public void testError100()
{
- LOG.info("testError100");
-
-
String str =
"{\n" +
" \"error\":\n" +
@Test
public void testError102()
{
- LOG.info("testError102");
-
String str ="{\"error\":{\"message\":\"A user access token is required to request this resource.\",\"type\":\"OAuthException\",\"code\":102,\"fbtrace_id\":\"DhdMyf23Ki7\"}}";
byte[] message = str.getBytes();
GraphApiException e = GraphApiException.create (status, headers, message);
@Test
public void testError104()
{
- LOG.info("testError104");
-
String str ="{\"error\":{\"message\":\"An access token is required to request this resource.\",\"type\":\"OAuthException\",\"code\":104,\"fbtrace_id\":\"E2Jjkj5++LL\"}}";
byte[] message = str.getBytes();
GraphApiException e = GraphApiException.create (status, headers, message);
@Test
public void testError200()
{
- LOG.info("testError200");
-
String str ="{\n" +
" \"error\": {\n" +
" \"message\": \"(#200) The user hasn't authorized the application to perform this action\",\n" +
@Test
public void testError613()
{
- LOG.info("testError613");
-
-
String str =
"{\n" +
" \"error\":\n" +
@Test
public void testError2200()
{
- LOG.info("testError2200");
-
String str ="{\"error\":{\"message\":\"(#2200) callback verification failed: \",\"type\":\"OAuthException\",\"code\":2200,\"fbtrace_id\":\"ESLjoZKvPXg\"}}";
byte[] message = str.getBytes();
GraphApiException e = GraphApiException.create (status, headers, message);
@Test
public void testUnmappedError()
{
- LOG.info("testUnmappedError");
-
-
String str =
"{\n" +
" \"error\":\n" +
@Test
public void testUnmappedErrors()
{
- LOG.info("testUnmappedErrors");
-
String str;
byte[] message;
GraphApiException e;
@Test
public void testInvlalidErrors()
{
- LOG.info("testInvalidErrors");
-
String str;
byte[] message;
GraphApiException e;