mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 07:53:15 +00:00
throws追加
This commit is contained in:
parent
a887446d21
commit
f3ac07e633
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue
Block a user