You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
427 B
19 lines
427 B
package fr.mieuxvoter.mj;
|
|
|
|
/**
|
|
* Raised when the provided tally holds negative values, or infinity.
|
|
*/
|
|
class IncoherentTallyException extends InvalidTallyException {
|
|
|
|
private static final long serialVersionUID = 5858986651601202903L;
|
|
|
|
@Override
|
|
public String getMessage() {
|
|
return (
|
|
"The provided tally holds negative values, or infinity. "
|
|
+
|
|
(null == super.getMessage() ? "" : super.getMessage())
|
|
);
|
|
}
|
|
|
|
} |