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.5 KiB
47 lines
1.5 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.Serialization;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace EPAServeur.Exceptions
|
|
{
|
|
/// <summary>
|
|
/// Exception à jeter lorsque l'id d'un objet collaborateur ne correspond pas à l'id collaborateur en paramètre
|
|
/// </summary>
|
|
public class CollaborateurIncompatibleException : Exception
|
|
{
|
|
/// <summary>
|
|
/// Initialise une nouvelle instance de la classe <see cref="CollaborateurIncompatibleException"/> class.
|
|
/// </summary>
|
|
public CollaborateurIncompatibleException()
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initialise une nouvelle instance de la classe <see cref="CollaborateurIncompatibleException"/> class.
|
|
/// </summary>
|
|
/// <param name="message"></param>
|
|
public CollaborateurIncompatibleException(string message) : base(message)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initialise une nouvelle instance de la classe <see cref="CollaborateurIncompatibleException"/> class.
|
|
/// </summary>
|
|
/// <param name="message"></param>
|
|
/// <param name="innerException"></param>
|
|
public CollaborateurIncompatibleException(string message, Exception innerException) : base(message, innerException)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initialise une nouvelle instance de la classe <see cref="CollaborateurIncompatibleException"/> class.
|
|
/// </summary>
|
|
/// <param name="info"></param>
|
|
/// <param name="context"></param>
|
|
protected CollaborateurIncompatibleException(SerializationInfo info, StreamingContext context) : base(info, context)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|