fix(config-core): use proper exception type in Migration
This commit is contained in:
parent
2f54fb3921
commit
4bcbc2b588
@ -2,9 +2,7 @@ package io.gitlab.jfronny.libjf.config.api.v2.dsl;
|
|||||||
|
|
||||||
import io.gitlab.jfronny.commons.serialize.SerializeReader;
|
import io.gitlab.jfronny.commons.serialize.SerializeReader;
|
||||||
|
|
||||||
import java.io.IOException;
|
|
||||||
|
|
||||||
@FunctionalInterface
|
@FunctionalInterface
|
||||||
public interface Migration {
|
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user