static void stream_ioError(IOErrorEvent e) { Download d = e.target as Download; if (d != null) { Error(d); } Alert.show("IOError: " + e.text); }
public void OnIOError(IOErrorEvent ioError) { Debug.LogError("IO Error event: " + ioError.Message); ConnectionChecker checker = new ConnectionChecker(); checker.check( delegate(bool success) { if (success) { cleanupConnectionSuccessful(false, 0); } else { cleanupConnectionSuccessful(false, 1); } }); }
private void ioErrorHandler(IOErrorEvent e) { throw new Exception("Unable to load image: " + url + "\n" + e.text); }