BizHawk/BizHawk.Emulation.DiscSystem/DiscExceptions.cs

24 lines
612 B
C#
Raw Normal View History

2015-07-08 03:29:11 +00:00
using System;
using System.Collections.Generic;
using BizHawk.Common.BufferExtensions;
//some old junk
namespace BizHawk.Emulation.DiscSystem
{
[Serializable]
public class DiscReferenceException : Exception
{
public DiscReferenceException(string fname, Exception inner)
2019-03-20 05:24:33 +00:00
: base($"A disc attempted to reference a file which could not be accessed or loaded: {fname}", inner)
2015-07-08 03:29:11 +00:00
{
}
public DiscReferenceException(string fname, string extrainfo)
2019-03-20 05:24:33 +00:00
: base($"A disc attempted to reference a file which could not be accessed or loaded:\n\n{fname}\n\n{extrainfo}")
2015-07-08 03:29:11 +00:00
{
}
}
}