Skip to content

Commit

Permalink
MissingModelDataに対するPythonとJavaの定義をする
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Mar 10, 2024
1 parent 051d181 commit fd2905b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package jp.hiroshiba.voicevoxcore.exceptions;

import java.io.IOException;

/** モデルデータが見つからなかった。 */
public class MissingModelDataException extends IOException {
public MissingModelDataException(String message) {
super(message);
}

public MissingModelDataException(String message, Throwable cause) {
super(message, cause);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ class StyleAlreadyLoadedError(Exception):

...

class MissingModelDataError(Exception):
"""モデルデータが見つからなかった。"""

...

class InvalidModelDataError(Exception):
"""無効なモデルデータ。"""

Expand Down

0 comments on commit fd2905b

Please sign in to comment.