Mercurial > repos > IBBoard
view IO/UnsupportedFileTypeException.cs @ 0:961030992bd2
Initial commit of IBBoard libraries
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 19 Dec 2008 11:13:48 +0000 |
parents | |
children | 0352fa33ee8f |
line wrap: on
line source
using System; namespace IBBoard.IO { /// <summary> /// Summary description for UnsupportedFileTypeException. /// </summary> public class UnsupportedFileTypeException : Exception { public UnsupportedFileTypeException(): base("Operation attempted on an unsupported file type") { } public UnsupportedFileTypeException(string fileType):base("Operation attempted on an unsupported file type ("+fileType+")") { } public UnsupportedFileTypeException(string fileType, string operation):base("Operation "+operation+" does not support file type "+fileType) { } } }