24 lines
516 B
C#
24 lines
516 B
C#
namespace Indotalent.ConfigBackEnd.Exceptions;
|
|
|
|
public class AlreadyExistsException : Exception
|
|
{
|
|
public AlreadyExistsException()
|
|
: base()
|
|
{
|
|
}
|
|
|
|
public AlreadyExistsException(string message)
|
|
: base(message)
|
|
{
|
|
}
|
|
|
|
public AlreadyExistsException(string message, Exception innerException)
|
|
: base(message, innerException)
|
|
{
|
|
}
|
|
|
|
public AlreadyExistsException(string name, object key)
|
|
: base($"Entity \"{name}\" ({key}) already exists.")
|
|
{
|
|
}
|
|
} |