aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prebuild/src/Core/FatalException.cs
diff options
context:
space:
mode:
authoronefang2019-05-19 21:24:15 +1000
committeronefang2019-05-19 21:24:15 +1000
commit5e4d6cab00cb29cd088ab7b62ab13aff103b64cb (patch)
treea9fbc62df9eb2d1d9ba2698d8552eae71eca20d8 /Prebuild/src/Core/FatalException.cs
parentAdd a build script. (diff)
downloadopensim-SC_OLD-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.zip
opensim-SC_OLD-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.gz
opensim-SC_OLD-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.bz2
opensim-SC_OLD-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.xz
Dump OpenSim 0.9.0.1 into it's own branch.
Diffstat (limited to 'Prebuild/src/Core/FatalException.cs')
-rw-r--r--Prebuild/src/Core/FatalException.cs114
1 files changed, 57 insertions, 57 deletions
diff --git a/Prebuild/src/Core/FatalException.cs b/Prebuild/src/Core/FatalException.cs
index 3487905..751297a 100644
--- a/Prebuild/src/Core/FatalException.cs
+++ b/Prebuild/src/Core/FatalException.cs
@@ -5,16 +5,16 @@ Copyright (c) 2004-2005 Matthew Holmes (matthew@wildfiregames.com), Dan Moorehea
5Redistribution and use in source and binary forms, with or without modification, are permitted 5Redistribution and use in source and binary forms, with or without modification, are permitted
6provided that the following conditions are met: 6provided that the following conditions are met:
7 7
8* Redistributions of source code must retain the above copyright notice, this list of conditions 8* Redistributions of source code must retain the above copyright notice, this list of conditions
9 and the following disclaimer. 9 and the following disclaimer.
10* Redistributions in binary form must reproduce the above copyright notice, this list of conditions 10* Redistributions in binary form must reproduce the above copyright notice, this list of conditions
11 and the following disclaimer in the documentation and/or other materials provided with the 11 and the following disclaimer in the documentation and/or other materials provided with the
12 distribution. 12 distribution.
13* The name of the author may not be used to endorse or promote products derived from this software 13* The name of the author may not be used to endorse or promote products derived from this software
14 without specific prior written permission. 14 without specific prior written permission.
15 15
16THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, 16THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
17BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 18ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 20OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
@@ -28,58 +28,58 @@ using System.Runtime.Serialization;
28 28
29namespace Prebuild.Core 29namespace Prebuild.Core
30{ 30{
31 /// <summary> 31 /// <summary>
32 /// 32 ///
33 /// </summary> 33 /// </summary>
34 [Serializable()] 34 [Serializable()]
35 public class FatalException : Exception 35 public class FatalException : Exception
36 { 36 {
37 #region Constructors 37 #region Constructors
38 38
39
40 /// <summary>
41 /// Initializes a new instance of the <see cref="FatalException"/> class.
42 /// </summary>
43 public FatalException()
44 {
45 }
46 39
47 /// <summary> 40 /// <summary>
48 /// Initializes a new instance of the <see cref="FatalException"/> class. 41 /// Initializes a new instance of the <see cref="FatalException"/> class.
49 /// </summary> 42 /// </summary>
50 /// <param name="format">The format.</param> 43 public FatalException()
51 /// <param name="args">The args.</param> 44 {
52 public FatalException(string format, params object[] args) 45 }
53 : base(String.Format(format, args))
54 {
55 }
56 46
57 /// <summary> 47 /// <summary>
58 /// Exception with specified string 48 /// Initializes a new instance of the <see cref="FatalException"/> class.
59 /// </summary> 49 /// </summary>
60 /// <param name="message">Exception message</param> 50 /// <param name="format">The format.</param>
61 public FatalException(string message): base(message) 51 /// <param name="args">The args.</param>
62 { 52 public FatalException(string format, params object[] args)
63 } 53 : base(String.Format(format, args))
54 {
55 }
64 56
65 /// <summary> 57 /// <summary>
66 /// 58 /// Exception with specified string
67 /// </summary> 59 /// </summary>
68 /// <param name="message"></param> 60 /// <param name="message">Exception message</param>
69 /// <param name="exception"></param> 61 public FatalException(string message): base(message)
70 public FatalException(string message, Exception exception) : base(message, exception) 62 {
71 { 63 }
72 }
73 64
74 /// <summary> 65 /// <summary>
75 /// 66 ///
76 /// </summary> 67 /// </summary>
77 /// <param name="info"></param> 68 /// <param name="message"></param>
78 /// <param name="context"></param> 69 /// <param name="exception"></param>
79 protected FatalException(SerializationInfo info, StreamingContext context) : base( info, context ) 70 public FatalException(string message, Exception exception) : base(message, exception)
80 { 71 {
81 } 72 }
82 73
83 #endregion 74 /// <summary>
84 } 75 ///
76 /// </summary>
77 /// <param name="info"></param>
78 /// <param name="context"></param>
79 protected FatalException(SerializationInfo info, StreamingContext context) : base( info, context )
80 {
81 }
82
83 #endregion
84 }
85} 85}