30 lines
586 B
C#
30 lines
586 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BS.Shared.Exceptions
|
|
{
|
|
public class GkvException : ArgumentException
|
|
{
|
|
public string Title { get; set; }
|
|
public override string Message { get; }
|
|
|
|
public GkvException(string message, string title) : this(message)
|
|
{
|
|
Title = title;
|
|
}
|
|
|
|
public GkvException(string message) : this()
|
|
{
|
|
Message = message;
|
|
}
|
|
|
|
public GkvException()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|