aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-10-31 00:56:41 +0000
committerJustin Clark-Casey (justincc)2012-10-31 00:56:41 +0000
commit566aaef1f4c7eade864d9e3d7b7b6ded8e0156a1 (patch)
tree5a4b86c52acd3bf66fd912f2060833cbea1d1d00 /OpenSim
parentMark ScriptException as [Serializable] for when it has to cross AppDomains (diff)
downloadopensim-SC_OLD-566aaef1f4c7eade864d9e3d7b7b6ded8e0156a1.zip
opensim-SC_OLD-566aaef1f4c7eade864d9e3d7b7b6ded8e0156a1.tar.gz
opensim-SC_OLD-566aaef1f4c7eade864d9e3d7b7b6ded8e0156a1.tar.bz2
opensim-SC_OLD-566aaef1f4c7eade864d9e3d7b7b6ded8e0156a1.tar.xz
Also add the additional ScriptException constructor necessary to get [Serializable] to work.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/ScriptException.cs3
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
28using System; 28using System;
29using System.Runtime.Serialization;
29 30
30namespace OpenSim.Region.ScriptEngine.Shared 31namespace 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