ultimate/Entities/Exceptions/CompanyNotFoundException.cs

35 lines
1.5 KiB
C#
Raw Permalink Normal View History

2023-06-12 10:26:01 +02:00
// ***********************************************************************
// Assembly : Entities
// Author : frede
// Created : 2023 06 11 14:58
//
// Last Modified By : frede
// Last Modified On : 2023 06 11 14:58
// ***********************************************************************
// <copyright file="CompanyNotFoundException.cs" company="FCS">
// Copyright (C) 2023-2023 FCS Frede's Computer Services.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see [https://www.gnu.org/licenses]
// </copyright>
// <summary></summary>
// ***********************************************************************
namespace Entities.Exceptions;
2023-12-11 14:05:07 +01:00
public sealed class CompanyNotFoundException : NotFoundException
2023-06-12 10:26:01 +02:00
{
2023-12-11 14:05:07 +01:00
public CompanyNotFoundException(Guid companyId) :
base($"The company with id {companyId} vas not found.")
2023-06-12 10:26:01 +02:00
{
}
}