Also add the additional ScriptException constructor necessary to get [Serializable] to work.

0.7.4-extended
Justin Clark-Casey (justincc) 2012-10-31 00:56:41 +00:00
parent 6a54cb871b
commit db045e69f9
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,7 @@
*/ */
using System; using System;
using System.Runtime.Serialization;
namespace OpenSim.Region.ScriptEngine.Shared namespace OpenSim.Region.ScriptEngine.Shared
{ {
@ -37,5 +38,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
public ScriptException(string message) : base(message) {} public ScriptException(string message) : base(message) {}
public ScriptException(string message, Exception innerException) : base(message, innerException) {} public ScriptException(string message, Exception innerException) : base(message, innerException) {}
public ScriptException(SerializationInfo info, StreamingContext context) :base(info, context) {}
} }
} }