0
|
1 // This file is a part of the Relic Tools and is copyright 2006-2018 IBBoard.
|
|
2 //
|
|
3 // The file and the library/program it is in are licensed under the GNU GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license.
|
|
4 using System;
|
|
5
|
|
6 namespace IBBoard.Relic.RelicTools.Exceptions
|
|
7 {
|
|
8 /// <summary>
|
|
9 /// Summary description for Exception.
|
|
10 /// </summary>
|
|
11 public class Exception:System.Exception
|
|
12 {
|
|
13 private static readonly string DefaultMessage = "An unknown error has occured";
|
|
14
|
|
15 public Exception():base(DefaultMessage)
|
|
16 {
|
|
17 }
|
|
18
|
|
19 public Exception(string message):base(message)
|
|
20 {}
|
|
21
|
|
22 public Exception(Exception ex):base(DefaultMessage, ex)
|
|
23 {
|
|
24 }
|
|
25
|
|
26 public Exception(string message, Exception ex):base(message, ex)
|
|
27 {}
|
|
28 }
|
|
29 }
|