Britbot
Exceptions.cs
Go to the documentation of this file.
00001 #region #Usings
00002 
00003 using System;
00004 using System.Runtime.Serialization;
00005 
00006 #endregion
00007 
00008 namespace Britbot
00009 {
00010     [Serializable]
00011     public class InvalidIteratorDimensionException : Exception
00012     {
00013         #region Constructors & Initializers
00014 
00015         //
00016         // For guidelines regarding the creation of new exception types, see
00017         //    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconerrorraisinghandlingguidelines.asp
00018         // and
00019         //    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp07192001.asp
00020         //
00021 
00022         public InvalidIteratorDimensionException()
00023         {
00024         }
00025 
00026         public InvalidIteratorDimensionException(string message) : base(message)
00027         {
00028         }
00029 
00030         public InvalidIteratorDimensionException(string message, Exception inner) : base(message, inner)
00031         {
00032         }
00033 
00034         protected InvalidIteratorDimensionException(
00035             SerializationInfo info,
00036             StreamingContext context) : base(info, context)
00037         {
00038         }
00039 
00040         #endregion
00041     }
00042 
00043 
00044     [Serializable]
00045     public class InvalidRingException : Exception
00046     {
00047         #region Constructors & Initializers
00048 
00049         //
00050         // For guidelines regarding the creation of new exception types, see
00051         //    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconerrorraisinghandlingguidelines.asp
00052         // and
00053         //    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp07192001.asp
00054         //
00055 
00056         public InvalidRingException()
00057         {
00058         }
00059 
00060         public InvalidRingException(string message) : base(message)
00061         {
00062         }
00063 
00064         public InvalidRingException(string message, Exception inner) : base(message, inner)
00065         {
00066         }
00067 
00068         protected InvalidRingException(
00069             SerializationInfo info,
00070             StreamingContext context) : base(info, context)
00071         {
00072         }
00073 
00074         #endregion
00075     }
00076 
00077     [Serializable]
00078     public class InvalidLocationException : Exception
00079     {
00080         #region Constructors & Initializers
00081 
00082         //
00083         // For guidelines regarding the creation of new exception types, see
00084         //    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconerrorraisinghandlingguidelines.asp
00085         // and
00086         //    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp07192001.asp
00087         //
00088 
00089         public InvalidLocationException()
00090         {
00091         }
00092 
00093         public InvalidLocationException(string message) : base(message)
00094         {
00095         }
00096 
00097         public InvalidLocationException(string message, Exception inner) : base(message, inner)
00098         {
00099         }
00100 
00101         protected InvalidLocationException(
00102             SerializationInfo info,
00103             StreamingContext context) : base(info, context)
00104         {
00105         }
00106 
00107         #endregion
00108     }
00109 
00110     [Serializable]
00111     public class CommanderGaveUpException : Exception
00112     {
00113         #region Constructors & Initializers
00114 
00115         //
00116         // For guidelines regarding the creation of new exception types, see
00117         //    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconerrorraisinghandlingguidelines.asp
00118         // and
00119         //    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp07192001.asp
00120         //
00121 
00122         public CommanderGaveUpException()
00123         {
00124         }
00125 
00126         public CommanderGaveUpException(string message) : base(message)
00127         {
00128         }
00129 
00130         public CommanderGaveUpException(string message, Exception inner) : base(message, inner)
00131         {
00132         }
00133 
00134         protected CommanderGaveUpException(
00135             SerializationInfo info,
00136             StreamingContext context) : base(info, context)
00137         {
00138         }
00139 
00140         #endregion
00141     }
00142 
00143     [Serializable]
00144     public class AllocationException : Exception
00145     {
00146         #region Constructors & Initializers
00147 
00148         //
00149         // For guidelines regarding the creation of new exception types, see
00150         //    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconerrorraisinghandlingguidelines.asp
00151         // and
00152         //    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp07192001.asp
00153         //
00154 
00155         public AllocationException()
00156         {
00157         }
00158 
00159         public AllocationException(string message) : base(message)
00160         {
00161         }
00162 
00163         public AllocationException(string message, Exception inner) : base(message, inner)
00164         {
00165         }
00166 
00167         protected AllocationException(
00168             SerializationInfo info,
00169             StreamingContext context) : base(info, context)
00170         {
00171         }
00172 
00173         #endregion
00174     }
00175 }