You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.4 KiB
47 lines
1.4 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.Serialization;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace EPAServeur.Exceptions
|
|
{
|
|
/// <summary>
|
|
/// Exception à jeter quand le référent n'a pas été trouvée
|
|
/// </summary>
|
|
public class ReferentNotFoundException : Exception
|
|
{
|
|
/// <summary>
|
|
/// Initialise une nouvelle instance de la classe <see cref="ReferentNotFoundException"/> class.
|
|
/// </summary>
|
|
public ReferentNotFoundException()
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initialise une nouvelle instance de la classe <see cref="ReferentNotFoundException"/> class.
|
|
/// </summary>
|
|
/// <param name="message"></param>
|
|
public ReferentNotFoundException(string message) : base(message)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initialise une nouvelle instance de la classe <see cref="ReferentNotFoundException"/> class.
|
|
/// </summary>
|
|
/// <param name="message"></param>
|
|
/// <param name="innerException"></param>
|
|
public ReferentNotFoundException(string message, Exception innerException) : base(message, innerException)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initialise une nouvelle instance de la classe <see cref="ReferentNotFoundException"/> class.
|
|
/// </summary>
|
|
/// <param name="info"></param>
|
|
/// <param name="context"></param>
|
|
protected ReferentNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|