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.
24 lines
778 B
24 lines
778 B
namespace CoreLibrary.Exceptions
|
|
{
|
|
/// <summary>
|
|
/// Exception levée lorsqu'un jeton est supprimé d'un code qui est déjà vide.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class CodeVideException : Exception
|
|
{
|
|
/// <summary>
|
|
/// Initialise une nouvelle instance de la classe <see cref="CodeVideException"/>.
|
|
/// </summary>
|
|
private const string messageDefaut = "Le code dans lequel vous essayez de supprimer un jeton est déjà vide.";
|
|
|
|
public CodeVideException() : base(messageDefaut)
|
|
{ }
|
|
|
|
public CodeVideException(string message) : base(message)
|
|
{ }
|
|
|
|
public CodeVideException(string message, Exception exception) : base(message, exception)
|
|
{ }
|
|
}
|
|
}
|