I'm trying to write code to create an EpicFailException
class as a subclass of ApplicationException
. I have to add a constructor that defaults the HelpLink
property to google.com. Below is what I have so far. Any suggestions for how to apply the subclass?
public class ApplicationException : Exception
{
public ApplicationException(string auxMessage, Exception inner) :
base()
{
this.HelpLink = "http://google.com";
}
}