Skip to content
Snippets Groups Projects

ajout de la classe SourceFixe et destination finale

Merged ROUXEL Martin requested to merge Dev_branche_elouan into v1.0
All threads resolved!
2 files
+ 47
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 22
0
package destinations;
import information.Information;
import information.InformationNonConformeException;
public class DestinationFinale extends Destination<Boolean> {
public void recevoir(Information<Boolean> information) throws InformationNonConformeException {
for(Boolean valeur : information){
try {
informationRecue.add(valeur);
} catch (Exception e) {
throw new InformationNonConformeException();
}
}
}
}
Loading