|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace EPAServeur.Exceptions
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Exception à jeter quand l'objet détails note contient des valeurs null
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class NoteInvalideException : Exception
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Initialise une nouvelle instance de la classe <see cref="NoteInvalideException"/> class.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public NoteInvalideException()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Initialise une nouvelle instance de la classe <see cref="NoteInvalideException"/> class.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="message"></param>
|
|
|
|
|
public NoteInvalideException(string message) : base(message)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Initialise une nouvelle instance de la classe <see cref="NoteInvalideException"/> class.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="message"></param>
|
|
|
|
|
/// <param name="innerException"></param>
|
|
|
|
|
public NoteInvalideException(string message, Exception innerException) : base(message, innerException)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Initialise une nouvelle instance de la classe <see cref="NoteInvalideException"/> class.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="info"></param>
|
|
|
|
|
/// <param name="context"></param>
|
|
|
|
|
protected NoteInvalideException(SerializationInfo info, StreamingContext context) : base(info, context)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|