view Lang/TranslationLoadException.cs @ 36:c949727ec0e0

Re #22 - Make failing control translation cleaner for normal use * Add extra Translate method for ITranslatables that takes a default text string
author IBBoard <dev@ibboard.co.uk>
date Tue, 19 May 2009 19:55:21 +0000
parents c8d74202182a
children 7e5f5cb0a9ea
line wrap: on
line source

//  This file (TranslationLoadException.cs) is a part of the IBBoard project 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;
using System.IO;

namespace IBBoard
{
	/// <summary>
	/// A sub-class of Exceptions that is thrown when translations fail to load.
	/// </summary>
	public class TranslationLoadException : Exception
	{		
		public TranslationLoadException(string message) : base(message)
		{
		}
		
		public TranslationLoadException(string message, Exception ex) : base(message, ex)
		{
		}
	}
}