Package com.restfb.exception
Klasse FacebookErrorMessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.restfb.exception.FacebookException
com.restfb.exception.FacebookErrorMessageException
- Alle implementierten Schnittstellen:
Serializable
- Bekannte direkte Unterklassen:
FacebookGraphException
,FacebookResponseStatusException
Abstract class to provide access to the JSON Facebook provides in case of an error
Sometime a developer needs to access the plain error to get a more in depth view to the error.
- Siehe auch:
-
Konstruktorübersicht
ModifiziererKonstruktorBeschreibungprotected
FacebookErrorMessageException
(String message) protected
FacebookErrorMessageException
(String message, Throwable cause) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungreturns the debug header info that is connected with this Facebook call.return the raw error as JSON, may benull
void
setDebugHeaderInfo
(DebugHeaderInfo debugHeaderInfo) protected void
setRawErrorJson
(JsonObject rawError) Von Klasse geerbte Methoden java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Konstruktordetails
-
FacebookErrorMessageException
-
FacebookErrorMessageException
-
-
Methodendetails
-
getRawErrorJson
return the raw error as JSON, may benull
- Gibt zurück:
- raw error
-
setRawErrorJson
-
getDebugHeaderInfo
returns the debug header info that is connected with this Facebook call. you can get information like trace ids, limits and more.- Gibt zurück:
- the DebugHeaderInfo or null
-
setDebugHeaderInfo
-