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

◆ ToString()

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

Definition at line 79 of file FileLoadException.cs.

80 {
81 string text = GetType().ToString() + ": " + Message;
82 if (!string.IsNullOrEmpty(FileName))
83 {
84 text = text + "\r\n" + SR.Format(SR.IO_FileName_Name, FileName);
85 }
86 if (base.InnerException != null)
87 {
88 text = text + "\r\n ---> " + base.InnerException.ToString();
89 }
90 if (StackTrace != null)
91 {
92 text = text + "\r\n" + StackTrace;
93 }
94 if (FusionLog != null)
95 {
96 if (text == null)
97 {
98 text = " ";
99 }
100 text = text + "\r\n\r\n" + FusionLog;
101 }
102 return text;
103 }
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.FileLoadException.FileName, System.SR.Format(), System.IO.FileLoadException.FusionLog, System.Exception.GetType(), System.SR.IO_FileName_Name, System.IO.FileLoadException.Message, System.Exception.StackTrace, System.text, and System.Type.ToString().