Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
WarningException.cs
Go to the documentation of this file.
3
5
7[TypeForwardedFrom("System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
9{
10 public string? HelpUrl { get; }
11
12 public string? HelpTopic { get; }
13
15 : this(null, null, null)
16 {
17 }
18
19 public WarningException(string? message)
20 : this(message, null, null)
21 {
22 }
23
24 public WarningException(string? message, string? helpUrl)
25 : this(message, helpUrl, null)
26 {
27 }
28
29 public WarningException(string? message, Exception? innerException)
30 : base(message, innerException)
31 {
32 }
33
34 public WarningException(string? message, string? helpUrl, string? helpTopic)
35 : base(message)
36 {
39 }
40
42 : base(info, context)
43 {
44 HelpUrl = (string)info.GetValue("helpUrl", typeof(string));
45 HelpTopic = (string)info.GetValue("helpTopic", typeof(string));
46 }
47
49 {
50 base.GetObjectData(info, context);
51 info.AddValue("helpUrl", HelpUrl);
52 info.AddValue("helpTopic", HelpTopic);
53 }
54}
WarningException(SerializationInfo info, StreamingContext context)
override void GetObjectData(SerializationInfo info, StreamingContext context)
WarningException(string? message, string? helpUrl, string? helpTopic)
WarningException(string? message, Exception? innerException)
WarningException(string? message, string? helpUrl)