Mercurial > repos > IBBoard
annotate Lang/TranslationLoadException.cs @ 103:8022850f7fd7
Re #48: Collection equality
* Add method for dictionary equality
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 26 Apr 2011 14:32:18 +0000 |
parents | 7e5f5cb0a9ea |
children |
rev | line source |
---|---|
21
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 // This file (TranslationLoadException.cs) is a part of the IBBoard project and is copyright 2009 IBBoard |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 // |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 // The file and the library/program it is in are licensed under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING.LGPL for more information and the full license. |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 // |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 using System; |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 using System.IO; |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 |
66
7e5f5cb0a9ea
* Move TranslationLoadException to correct namespace
IBBoard <dev@ibboard.co.uk>
parents:
21
diff
changeset
|
9 namespace IBBoard.Lang |
21
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 { |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 /// <summary> |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 /// A sub-class of Exceptions that is thrown when translations fail to load. |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 /// </summary> |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 public class TranslationLoadException : Exception |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 { |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 public TranslationLoadException(string message) : base(message) |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 { |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 } |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 public TranslationLoadException(string message, Exception ex) : base(message, ex) |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
21 { |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
22 } |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
23 } |
c8d74202182a
Closes #14 - Throw specific exceptions from translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
24 } |