javadoc update

This commit is contained in:
mmarc471@gmail.com
2020-09-09 19:58:27 +02:00
parent 41909cdb70
commit cc7be58c14
9 changed files with 185 additions and 66 deletions
@@ -14,12 +14,11 @@ public class InvalidDataException extends Throwable {
y = rectangle.getHeight();
this.name=name;
}
public InvalidDataException(String name,float x,float y)
{
this.y=y;
this.x=x;
}
/**
* retourne un string detaillant l'erreur
* @return
*/
public String getDetail() {
return "name " + name + " x:" + x +" y:"+ y;
}