Package com.restfb.exception
Schnittstelle FacebookExceptionMapper
- Alle bekannten Implementierungsklassen:
DefaultFacebookExceptionGenerator.DefaultGraphFacebookExceptionMapper
public interface FacebookExceptionMapper
Specifies a method for mapping Graph and Old REST API exceptions to corresponding instances of
FacebookException
.- Seit:
- 1.6
- Autor:
- Mark Allen
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungexceptionForTypeAndMessage
(ExceptionInformation container) Given a Facebook API exception type and message, generates an instance of the correspondingFacebookGraphException
or one of its subclasses.
-
Methodendetails
-
exceptionForTypeAndMessage
Given a Facebook API exception type and message, generates an instance of the correspondingFacebookGraphException
or one of its subclasses.- Parameter:
container
- container for all data needed to create the associatedFacebookException
- Gibt zurück:
- An appropriate
FacebookException
subclass.
-