X-Git-Url: https://git.piment-noir.org/?p=TD_SR.git;a=blobdiff_plain;f=TD3%2Fhotel%2FExceptionChambresIndispo.java;h=748db66256e0744616ea3664a687c0a6d8056ba7;hp=0cf161ef8e4538d2c5ce08e6b44c32a40fda8831;hb=321de3f1ad537e7f9c313326ac50c45f2b6e9b5b;hpb=3a8c8f1926734c79be64af8debbc807ee2eabb5e diff --git a/TD3/hotel/ExceptionChambresIndispo.java b/TD3/hotel/ExceptionChambresIndispo.java index 0cf161e..748db66 100644 --- a/TD3/hotel/ExceptionChambresIndispo.java +++ b/TD3/hotel/ExceptionChambresIndispo.java @@ -1,28 +1,28 @@ -package hotel; - -/** - * Applications reparties - * TP - Exercice - * Chaine d'hotels - * - * Exception liee a la non disponibilite - * - * @author Toto - * @version 1.0 - */ -public class ExceptionChambresIndispo extends Exception { - - private static final long serialVersionUID = 5269715160970930660L; - - String message; - - public ExceptionChambresIndispo() { - super(); - message = "Erreur: chambre(s) indisponible(s)"; - } - - public String toString() { - return message; - } - -} +package hotel; + +/** + * Applications reparties + * TP - Exercice + * Chaine d'hotels + * + * Exception liee a la non disponibilite + * + * @author Toto + * @version 1.0 + */ +public class ExceptionChambresIndispo extends Exception { + + private static final long serialVersionUID = 5269715160970930660L; + + String message; + + public ExceptionChambresIndispo() { + super(); + message = "Erreur: chambre(s) indisponible(s)"; + } + + public String toString() { + return message; + } + +}