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
812 B
24 lines
812 B
namespace CoreLibrary.Exceptions
|
|
{
|
|
/// <summary>
|
|
/// Exception levée lorsqu'une opération est tentée alors que la partie n'a pas encore commencé.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class PartieNonCommenceeException : Exception
|
|
{
|
|
/// <summary>
|
|
/// Initialise une nouvelle instance de la classe <see cref="PartieNonCommenceeException"/>.
|
|
/// </summary>
|
|
private const string messageDefaut = "La partie n'a pas encore commencée.";
|
|
|
|
public PartieNonCommenceeException() : base(messageDefaut)
|
|
{ }
|
|
|
|
public PartieNonCommenceeException(string message) : base(message)
|
|
{ }
|
|
|
|
public PartieNonCommenceeException(string message, Exception exception) : base(message, exception)
|
|
{ }
|
|
}
|
|
}
|