diff options
author | Justin Clark-Casey (justincc) | 2012-10-31 00:56:41 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-10-31 00:56:41 +0000 |
commit | 566aaef1f4c7eade864d9e3d7b7b6ded8e0156a1 (patch) | |
tree | 5a4b86c52acd3bf66fd912f2060833cbea1d1d00 /OpenSim/Region/ScriptEngine/Shared | |
parent | Mark ScriptException as [Serializable] for when it has to cross AppDomains (diff) | |
download | opensim-SC-566aaef1f4c7eade864d9e3d7b7b6ded8e0156a1.zip opensim-SC-566aaef1f4c7eade864d9e3d7b7b6ded8e0156a1.tar.gz opensim-SC-566aaef1f4c7eade864d9e3d7b7b6ded8e0156a1.tar.bz2 opensim-SC-566aaef1f4c7eade864d9e3d7b7b6ded8e0156a1.tar.xz |
Also add the additional ScriptException constructor necessary to get [Serializable] to work.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/ScriptException.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/ScriptException.cs b/OpenSim/Region/ScriptEngine/Shared/ScriptException.cs index ebe6fbd..f55ba7e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/ScriptException.cs +++ b/OpenSim/Region/ScriptEngine/Shared/ScriptException.cs | |||
@@ -26,6 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Runtime.Serialization; | ||
29 | 30 | ||
30 | namespace OpenSim.Region.ScriptEngine.Shared | 31 | namespace OpenSim.Region.ScriptEngine.Shared |
31 | { | 32 | { |
@@ -37,5 +38,7 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
37 | public ScriptException(string message) : base(message) {} | 38 | public ScriptException(string message) : base(message) {} |
38 | 39 | ||
39 | public ScriptException(string message, Exception innerException) : base(message, innerException) {} | 40 | public ScriptException(string message, Exception innerException) : base(message, innerException) {} |
41 | |||
42 | public ScriptException(SerializationInfo info, StreamingContext context) :base(info, context) {} | ||
40 | } | 43 | } |
41 | } \ No newline at end of file | 44 | } \ No newline at end of file |