Sylloge
A C# helper library
code/App/Exceptions.cs
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 namespace Sylloge
00018 {
00019     namespace Exceptions
00020     {
00021         public class InvalidTypeException : System.Exception
00022         {
00023             public InvalidTypeException(System.Type t) : base("Invalid input value when converting to " + t.ToString()) { }
00024         }
00025        
00026         public class DatabaseTableNotFound : System.Exception
00027         {
00028             public DatabaseTableNotFound(string table) : base("Could not find table with name of '" + table + "' in database") { }
00029         }
00030     }
00031 }
 All Classes Namespaces Files Functions Variables Enumerations Properties Events