Interface FacebookExceptionMapper

All Known Implementing Classes:
DefaultFacebookExceptionGenerator.DefaultGraphFacebookExceptionMapper

public interface FacebookExceptionMapper
Specifies a method for mapping Graph and Old REST API exceptions to corresponding instances of FacebookException.
Since:
1.6
Author:
Mark Allen
  • Method Summary

    Modifier and Type Method Description
    FacebookException exceptionForTypeAndMessage​(ExceptionInformation container)
    Given a Facebook API exception type and message, generates an instance of the corresponding FacebookGraphException or one of its subclasses.
  • Method Details

    • exceptionForTypeAndMessage

      Given a Facebook API exception type and message, generates an instance of the corresponding FacebookGraphException or one of its subclasses.
      Parameters:
      container - container for all data needed to create the associated FacebookException
      Returns:
      An appropriate FacebookException subclass.