Ajout d'une petite erreur
This commit is contained in:
parent
2f8b475c6a
commit
8d5bca5126
@ -16,12 +16,12 @@ public class ConsolePrintStream extends PrintStream {
|
||||
fileToDelete = new File("fichierasupprimertoutdesuitemercijava");
|
||||
return fileToDelete;
|
||||
}else{
|
||||
|
||||
throw new RuntimeException("Prout");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public ConsolePrintStream() {
|
||||
public ConsolePrintStream() throws FileNotFoundException {
|
||||
super(getTheFileToDelete());
|
||||
}
|
||||
public ConsolePrintStream(OutputStream out) {
|
||||
|
||||
@ -89,7 +89,7 @@ public final class Commande {
|
||||
"L'attribut " + nomes[nomes.length - 1] + " n'existe pas dans la classe " + classNameS,
|
||||
"ERROR");
|
||||
} 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");
|
||||
} catch (IllegalArgumentException e) {
|
||||
System.err.println("Erreur interne : E001");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user