Package com.restfb.exception.generator
Klasse DefaultFacebookExceptionGenerator.DefaultGraphFacebookExceptionMapper
java.lang.Object
com.restfb.exception.generator.DefaultFacebookExceptionGenerator.DefaultGraphFacebookExceptionMapper
- Alle implementierten Schnittstellen:
FacebookExceptionMapper
- Umschließende Klasse:
DefaultFacebookExceptionGenerator
protected static class DefaultFacebookExceptionGenerator.DefaultGraphFacebookExceptionMapper
extends Object
implements FacebookExceptionMapper
A canned implementation of
FacebookExceptionMapper
that maps Graph API exceptions.
Thanks to BatchFB's Jeff Schnitzer for doing some of the legwork to find these exception type names.
- Seit:
- 1.6.3
- Autor:
- Mark Allen
-
Konstruktorübersicht
-
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.
-
Konstruktordetails
-
DefaultGraphFacebookExceptionMapper
protected DefaultGraphFacebookExceptionMapper()
-
-
Methodendetails
-
exceptionForTypeAndMessage
Beschreibung aus Schnittstelle kopiert:FacebookExceptionMapper
Given a Facebook API exception type and message, generates an instance of the correspondingFacebookGraphException
or one of its subclasses.- Angegeben von:
exceptionForTypeAndMessage
in SchnittstelleFacebookExceptionMapper
- Parameter:
container
- container for all data needed to create the associatedFacebookException
- Gibt zurück:
- An appropriate
FacebookException
subclass.
-