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.
mastermind/Sources/CoreLibrary/Exceptions/CodeIncompletException.cs

24 lines
790 B

namespace CoreLibrary.Exceptions
{
/// <summary>
/// Exception levée lorsqu'un code incomplet est ajouté à la grille.
/// </summary>
[Serializable]
public class CodeIncompletException : Exception
{
/// <summary>
/// Initialise une nouvelle instance de la classe <see cref="CodeIncompletException"/>.
/// </summary>
private const string messageDefaut = "Le code que vous essayez d'ajouter dans la grille n'est pas complet.";
public CodeIncompletException() : base(messageDefaut)
{ }
public CodeIncompletException(string message) : base(message)
{ }
public CodeIncompletException(string message, Exception exception) : base(message, exception)
{ }
}
}