Exemplo n.º 1
0
 def handleFailure(self, t):
     """
     * Handle failure
     * @param t original exception
     """
     if isinstance(t,FacebookException):
         e = t
         ui = ErrorResponseUI(e.getErrorMessage())
         ui.center()
         ui.show()
     else:
         Window.alert(java.str(u"Showcase: Unknown exception :" + java.str(t)) + u"")
Exemplo n.º 2
0
 def onFailure(self, caught):
     fe = caught
     ui = ErrorResponseUI(fe.getErrorMessage())
     ui.center()
     ui.show()