using System; public class NullResourcesLoadException : Exception { public NullResourcesLoadException(string message) : base(message) { } public NullResourcesLoadException(string path, Exception innerException) : base(String.Format("The file on this path does not exist in the resources {0}", path), innerException) { } }