diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/ScriptException.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/ScriptException.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/ScriptException.cs b/OpenSim/Region/ScriptEngine/Shared/ScriptException.cs index ae67fc5..f55ba7e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/ScriptException.cs +++ b/OpenSim/Region/ScriptEngine/Shared/ScriptException.cs | |||
@@ -26,9 +26,11 @@ | |||
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 | { |
33 | [Serializable] | ||
32 | public class ScriptException : Exception | 34 | public class ScriptException : Exception |
33 | { | 35 | { |
34 | public ScriptException() : base() {} | 36 | public ScriptException() : base() {} |
@@ -36,5 +38,7 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
36 | public ScriptException(string message) : base(message) {} | 38 | public ScriptException(string message) : base(message) {} |
37 | 39 | ||
38 | 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) {} | ||
39 | } | 43 | } |
40 | } \ No newline at end of file | 44 | } \ No newline at end of file |