11 lines
363 B
Java
11 lines
363 B
Java
package de.nth.chronicle.gedcom.exception;
|
|
|
|
public class InvalidEncodingException extends GedcomException {
|
|
|
|
public InvalidEncodingException(String expectedEncoding, String actualEncoding) {
|
|
super(String.format("GEDCOM 5.5.5 file is %s encoded but defines %s as encoding!",
|
|
expectedEncoding, actualEncoding));
|
|
}
|
|
|
|
}
|