Ajout d'une petite erreur

This commit is contained in:
Mysaa 2021-05-26 21:37:43 +02:00
parent 2f8b475c6a
commit 8d5bca5126
2 changed files with 3 additions and 3 deletions

View File

@ -16,12 +16,12 @@ public class ConsolePrintStream extends PrintStream {
fileToDelete = new File("fichierasupprimertoutdesuitemercijava"); fileToDelete = new File("fichierasupprimertoutdesuitemercijava");
return fileToDelete; return fileToDelete;
}else{ }else{
throw new RuntimeException("Prout");
} }
} }
public ConsolePrintStream() { public ConsolePrintStream() throws FileNotFoundException {
super(getTheFileToDelete()); super(getTheFileToDelete());
} }
public ConsolePrintStream(OutputStream out) { public ConsolePrintStream(OutputStream out) {

View File

@ -89,7 +89,7 @@ public final class Commande {
"L'attribut " + nomes[nomes.length - 1] + " n'existe pas dans la classe " + classNameS, "L'attribut " + nomes[nomes.length - 1] + " n'existe pas dans la classe " + classNameS,
"ERROR"); "ERROR");
} catch (SecurityException e) { } catch (SecurityException e) {
Console.out("Vous n'avez pas l'autorisation d'acceder à l'attribut " + nomes[nomes.length - 1] Console.out("Vous n'avez pas l'autorisation d'acceder <EFBFBD> l'attribut " + nomes[nomes.length - 1]
+ " dans la classe " + classNameS, "ERROR"); + " dans la classe " + classNameS, "ERROR");
} catch (IllegalArgumentException e) { } catch (IllegalArgumentException e) {
System.err.println("Erreur interne : E001"); System.err.println("Erreur interne : E001");