From c48fdc5fbcfd35f08ca1f5e22cf39c0851cd130e Mon Sep 17 00:00:00 2001 From: Xwite <1797350009@qq.com> Date: Fri, 10 Mar 2023 08:17:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(LocalBook.saveBookFile):=20=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E5=89=8D=E6=A3=80=E6=9F=A5=E6=98=AFinputstream?= =?UTF-8?q?=E5=90=A6=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/exception/EmptyFileException.kt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 app/src/main/java/io/legado/app/exception/EmptyFileException.kt diff --git a/app/src/main/java/io/legado/app/exception/EmptyFileException.kt b/app/src/main/java/io/legado/app/exception/EmptyFileException.kt new file mode 100644 index 000000000..034cc2880 --- /dev/null +++ b/app/src/main/java/io/legado/app/exception/EmptyFileException.kt @@ -0,0 +1,6 @@ +package io.legado.app.exception + +/** + * 文件为空 + */ +class EmptyFileException(msg: String) : NoStackTraceException(msg) \ No newline at end of file