view IO/InvalidFileException.cs @ 63:8fe11cd7d3bf

Re #25: Enum parsing * Extract enum parsing to separate class * Add more info to XmlTools exceptions and use new class
author IBBoard <dev@ibboard.co.uk>
date Mon, 30 Nov 2009 21:00:05 +0000
parents cc7fae81afec
children
line wrap: on
line source

// This file (InvalidFileException.cs) is a part of the IBBoard library and is copyright 2009 IBBoard.
//
// The file and the library/program it is in are licensed under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING.LGPL for more information and the full license.

using System;

namespace IBBoard.IO
{
	/// <summary>
	/// An exception thrown when the content of a file does not meet the requirements of that file.
	/// </summary>
	public class InvalidFileException : Exception
	{
		public InvalidFileException() : base() {}

		public InvalidFileException(string message) : base(message) {}

		public InvalidFileException(string message, Exception innerException) : base(message, innerException) {}
	}
}