com.restfb.exception
Class FacebookQueryParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.restfb.exception.FacebookException
                  extended by com.restfb.exception.FacebookGraphException
                      extended by com.restfb.exception.FacebookQueryParseException
All Implemented Interfaces:
Serializable

public class FacebookQueryParseException
extends FacebookGraphException

Indicates that the Facebook Graph API endpoint returned JSON which indicates an error condition related to FQL query parsing.

Example: { "error": { "type": "QueryParseException", "message": "Some of the aliases you requested do not exist: xxxxx" } }

Since:
1.6
Author:
Mark Allen
See Also:
Serialized Form

Constructor Summary
FacebookQueryParseException(String errorType, String errorMessage)
          Creates an exception with the given error type and message.
 
Method Summary
 
Methods inherited from class com.restfb.exception.FacebookGraphException
getErrorMessage, getErrorType
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FacebookQueryParseException

public FacebookQueryParseException(String errorType,
                                   String errorMessage)
Creates an exception with the given error type and message.

Parameters:
errorType - Value of the Facebook response attribute error.type.
errorMessage - Value of the Facebook response attribute error.message.


RestFB 1.6.8. Copyright © 2010-2011 Mark Allen. All Rights Reserved.