package plp.gestion; class DeviseException extends Exception { private String nom; DeviseException(String nom) { this(nom, ""); } DeviseException(String nom, String message) { super("Devise " + nom + " " + message); this.nom = nom; } public String nom() { return nom; } }