Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
InternalException.cs
Go to the documentation of this file.
1namespace System.Net;
2
3internal sealed class InternalException : Exception
4{
5 private readonly object _unexpectedValue;
6
7 public override string Message
8 {
9 get
10 {
11 if (_unexpectedValue == null)
12 {
13 return base.Message;
14 }
15 return base.Message + " " + _unexpectedValue;
16 }
17 }
18
20 : this(null)
21 {
22 }
23
24 internal InternalException(object unexpectedValue)
25 {
26 _unexpectedValue = unexpectedValue;
27 }
28}
InternalException(object unexpectedValue)