FRBDK/Glue/ParticleEditorPlugin/ParticleEditorPlugin/ParticlePreviewer.cs
/// <summary>
/// Attempts to run the game instance or wraps the exception with an additional message on failure.
/// </summary>
Attempts to run the game instance or wraps the exception with an additional message on failure.
Attempts to run the game instance or wraps the exception with an additional message on failure .
public void TryRun()
        {
            if (!Running)
            {
                try
                {
                    running = true;
                    this.Run();
                }
                catch (Exception ex)
                {
                    running = false;
                    throw new Exception("Failed to run particle previewer: " + ex.Message);
                }
            }
        }
public void TryRun ( ) { if ( ! Running ) { try { running = true ; this . Run ( ) ; } catch ( Exception ex ) { running = false ; throw new Exception ( " " + ex . Message ) ; } } }
Attempts to run the game instance or wraps the exception with an additional message on failure.
Attempts to run the game instance or wraps the exception with an additional message on failure .