Definition at line 8 of file ScriptStackException.cs.
◆ ScriptStackException() [1/3]
| ScriptStack.Runtime.ScriptStackException.ScriptStackException |
( |
| ) |
|
Definition at line 20 of file ScriptStackException.cs.
21 {
22
23 message = "Keine weiteren Details.";
24
25 innerException = null;
26
27 }
◆ ScriptStackException() [2/3]
| ScriptStack.Runtime.ScriptStackException.ScriptStackException |
( |
string | message | ) |
|
Definition at line 29 of file ScriptStackException.cs.
30 {
31
32 this.message = message;
33
34 innerException = null;
35
36 }
◆ ScriptStackException() [3/3]
| ScriptStack.Runtime.ScriptStackException.ScriptStackException |
( |
string | message, |
|
|
Exception | innerException ) |
Definition at line 38 of file ScriptStackException.cs.
39 {
40 this.message = message;
41 this.innerException = innerException;
42 }
◆ ToString()
| override string ScriptStack.Runtime.ScriptStackException.ToString |
( |
| ) |
|
◆ Message
| new string ScriptStack.Runtime.ScriptStackException.Message |
|
get |
◆ MessageTrace
| string ScriptStack.Runtime.ScriptStackException.MessageTrace |
|
get |
Definition at line 58 of file ScriptStackException.cs.
59 {
60
61 get
62 {
63
64 if (innerException != null)
65 {
66
67 string messageTrace = message + "\nFehlerquelle: ";
68
69 if (typeof(ScriptStackException).IsAssignableFrom(innerException.GetType()))
70 messageTrace += ((ScriptStackException) innerException).MessageTrace;
71
72 else
73 messageTrace += innerException.Message;
74
75 return
76 messageTrace;
77
78 }
79
80 else
81 return message;
82
83 }
84
85 }
Referenced by ToString().
The documentation for this class was generated from the following file: