private void ReleaseSessionAsync_CoroutineExceptionCallback(object sender, CoroutineExceptionEventArgs e) { Diagnostics.LogError("An exception has been raised while releasing the session.\n{0}", new object[] { e.Exception.ToString() }); }
private void Manager_Ignite_CoroutineExceptionCallback(object sender, CoroutineExceptionEventArgs e) { Application.Quit(); Diagnostics.LogError("An exception has been raised while initializing the application managers.\n{0}", new object[] { e.Exception.ToString() }); }
private void ListGamesAsync_CoroutineExceptionHandler(object sender, CoroutineExceptionEventArgs args) { Diagnostics.LogError("Exception caught: {0}\n{1}", new object[] { args.Exception.ToString(), args.Exception.StackTrace }); this.listing = null; }
private void SaveGameAsync_CoroutineExceptionHandler(object sender, CoroutineExceptionEventArgs args) { Diagnostics.LogError("Exception caught. {0}\n{1}\n----------", new object[] { args.Exception.ToString(), args.Exception.StackTrace }); this.saving = null; if (MessagePanel.Instance != null) { string message = args.Exception.Message; MessagePanel.Instance.Show(message, "Exception", MessagePanelButtons.Ok, null, MessagePanelType.IMPORTANT, new MessagePanelButton[0]); } }
private void ReloadRuntime_CoroutineExceptionCallback(object sender, CoroutineExceptionEventArgs e) { base.SetLastError(-1, e.Exception.Message); this.OnRuntimeException(new RuntimeExceptionEventArgs(e.Exception)); }