fix(config-core): use proper exception type in Migration

This commit is contained in:
Johannes Frohnmeyer 2024-04-25 11:51:58 +02:00
parent 2f54fb3921
commit 4bcbc2b588
Signed by: Johannes
GPG Key ID: E76429612C2929F4

View File

@ -2,9 +2,7 @@ package io.gitlab.jfronny.libjf.config.api.v2.dsl;
import io.gitlab.jfronny.commons.serialize.SerializeReader;
import java.io.IOException;
@FunctionalInterface
public interface Migration {
<TEx extends Exception, Reader extends SerializeReader<TEx, Reader>> void apply(Reader reader) throws IOException;
<TEx extends Exception, Reader extends SerializeReader<TEx, Reader>> void apply(Reader reader) throws TEx;
}