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/CodeCompletException.cs

24 lines
784 B

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