Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ToString()

override string System.IO.FileNotFoundException.ToString ( )
inline

Definition at line 78 of file FileNotFoundException.cs.

79 {
80 string text = GetType().ToString() + ": " + Message;
81 if (!string.IsNullOrEmpty(FileName))
82 {
83 text = text + "\r\n" + SR.Format(SR.IO_FileName_Name, FileName);
84 }
85 if (base.InnerException != null)
86 {
87 text = text + "\r\n ---> " + base.InnerException.ToString();
88 }
89 if (StackTrace != null)
90 {
91 text = text + "\r\n" + StackTrace;
92 }
93 if (FusionLog != null)
94 {
95 if (text == null)
96 {
97 text = " ";
98 }
99 text = text + "\r\n\r\n" + FusionLog;
100 }
101 return text;
102 }
virtual ? string StackTrace
Definition Exception.cs:143
new Type GetType()
Definition Exception.cs:437
override string ToString()
Definition Type.cs:1108

References System.Runtime.Serialization.Dictionary, System.IO.FileNotFoundException.FileName, System.SR.Format(), System.IO.FileNotFoundException.FusionLog, System.Exception.GetType(), System.SR.IO_FileName_Name, System.IO.FileNotFoundException.Message, System.Exception.StackTrace, System.text, and System.Type.ToString().