rename epublib to book,库里面包含umd
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package me.ag2s.base;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public class ThrowableUtils {
|
||||
|
||||
|
||||
public static @NonNull
|
||||
IOException rethrowAsIOException(Throwable throwable) throws IOException {
|
||||
IOException newException = new IOException(throwable.getMessage());
|
||||
newException.initCause(throwable);
|
||||
throw newException;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user