mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
throws追加
This commit is contained in:
2 files changed
+2
-7
No files matched your search
@@ -19,6 +19,6 @@ public interface DocumentProcessor {
|
||||
int getPageCount();
|
||||
|
||||
void close();
|
||||
void init();
|
||||
void init() throws Exception; // TODO-rca: 例外処理
|
||||
|
||||
}
|
||||
@@ -49,7 +49,7 @@ public class DocumentProcessorImpl implements DocumentProcessor{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
public void init() throws Exception{
|
||||
logger.debug("init", "called");
|
||||
// Init Variables
|
||||
this.documentRootPath = this.documentDetail.getPath().getFullPath();
|
||||
@@ -58,11 +58,6 @@ public class DocumentProcessorImpl implements DocumentProcessor{
|
||||
this.fileManager = fileManagerFactory.create(this.documentRootPath); //Initialize FileManager
|
||||
logger.debug("init", "fileManager created");
|
||||
|
||||
this.fileManager.autoCreateDir(this.documentRootPath);
|
||||
|
||||
// rawディレクトリInit
|
||||
this.fileManager.autoCreateDir(DEFAULT_SAVE_DIR);
|
||||
|
||||
// xmlファイルの読み込み
|
||||
if (fileManager.isExist("meta.xml")) {
|
||||
logger.debug("init", "meta.xml found");
|
||||
|
||||
Reference in new issue
Block a user