init
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
|
||||
namespace Kreta.BusinessLogic.Exceptions
|
||||
{
|
||||
public class KretaInvalidFileFormatException : Exception
|
||||
{
|
||||
public KretaInvalidFileFormatException()
|
||||
{
|
||||
|
||||
}
|
||||
public KretaInvalidFileFormatException(string message)
|
||||
{
|
||||
messsageText = message;
|
||||
}
|
||||
|
||||
public KretaInvalidFileFormatException(string message, string link)
|
||||
{
|
||||
messsageText = message;
|
||||
linkUrl = link;
|
||||
}
|
||||
private string messsageText { get; set; }
|
||||
|
||||
private string linkUrl { get; set; }
|
||||
|
||||
public override string Message
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.messsageText;
|
||||
}
|
||||
|
||||
}
|
||||
public string GuideLink
|
||||
{
|
||||
get
|
||||
{
|
||||
return linkUrl;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user