view IO/UnsupportedFileTypeException.cs @ 1:c29167218534

* Update MonoDevelop Project file for MonoDevelop 2.0a1 * Remove PIDB file (Parser Information Database) from source control
author IBBoard <dev@ibboard.co.uk>
date Fri, 19 Dec 2008 16:33:09 +0000
parents 961030992bd2
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)
		{
		}
	}
}