// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Runtime.Serialization; namespace ICSharpCode.Core { /// /// Is thrown when the GlobalResource manager can't find a requested /// resource. /// [Serializable()] public class ResourceNotFoundException : CoreException { public ResourceNotFoundException(string resource) : base("Resource not found : " + resource) { } public ResourceNotFoundException() : base() { } public ResourceNotFoundException(string message, Exception innerException) : base(message, innerException) { } protected ResourceNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }