SamsonGame/Assets/Scripts/Core/Exceptions/NullResourcesLoadException.cs

13 lines
359 B
C#

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)
{
}
}