UnityEngine.UnhandledExceptionHandler.PrintException C# (CSharp) Method

PrintException() private static method

private static PrintException ( string title, Exception e ) : void
title string
e System.Exception
return void
        private static void PrintException(string title, Exception e)
        {
            Debug.LogException(e);
            if (e.InnerException != null)
            {
                PrintException("Inner Exception: ", e.InnerException);
            }
        }

Usage Example

コード例 #1
0
 private static void PrintException(string title, Exception e)
 {
     Debug.LogException(e);
     if (e.InnerException != null)
     {
         UnhandledExceptionHandler.PrintException("Inner Exception: ", e.InnerException);
     }
 }
All Usage Examples Of UnityEngine.UnhandledExceptionHandler::PrintException