diff options
author | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
commit | b16abc8166c29585cb76cc55c3bdd76e5833cb4f (patch) | |
tree | 6a34f465a74b7a3a6dc00a3d7aa8dcc25ac3e3a5 /Prebuild/src/Core/FatalException.cs | |
parent | Make it possible to disable the bakes module in the way it is described in co... (diff) | |
download | opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.zip opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.gz opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.bz2 opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.xz |
Massive tab and trailing space cleanup
Diffstat (limited to '')
-rw-r--r-- | Prebuild/src/Core/FatalException.cs | 114 |
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 | |||
5 | Redistribution and use in source and binary forms, with or without modification, are permitted | 5 | Redistribution and use in source and binary forms, with or without modification, are permitted |
6 | provided that the following conditions are met: | 6 | provided 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 | ||
16 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, | 16 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, |
17 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | 17 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
18 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | 18 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
19 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | 19 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
20 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 20 | OR 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 | ||
29 | namespace Prebuild.Core | 29 | namespace 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 | } |