-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
377 additions
and
24 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
...voicevox_core_java_api/lib/src/main/java/jp/hiroshiba/voicevoxcore/VoicevoxException.java
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
.../src/main/java/jp/hiroshiba/voicevoxcore/exceptions/ExtractFullContextLabelException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package jp.hiroshiba.voicevoxcore.exceptions; | ||
|
||
/** コンテキストラベル出力に失敗した。 */ | ||
public class ExtractFullContextLabelException extends IllegalArgumentException { | ||
public ExtractFullContextLabelException(String message) { | ||
super(message); | ||
} | ||
|
||
public ExtractFullContextLabelException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
.../lib/src/main/java/jp/hiroshiba/voicevoxcore/exceptions/GetSupportedDevicesException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GetSupportedDevicesException extends IOException { | ||
public GetSupportedDevicesException(String message) { | ||
super(message); | ||
} | ||
|
||
public GetSupportedDevicesException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
..._java_api/lib/src/main/java/jp/hiroshiba/voicevoxcore/exceptions/GpuSupportException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package jp.hiroshiba.voicevoxcore.exceptions; | ||
|
||
/** GPUモードがサポートされていない。 */ | ||
public class GpuSupportException extends RuntimeException { | ||
public GpuSupportException(String message) { | ||
super(message); | ||
} | ||
|
||
public GpuSupportException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
..._api/lib/src/main/java/jp/hiroshiba/voicevoxcore/exceptions/InferenceFailedException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 InferenceFailedException extends IOException { | ||
public InferenceFailedException(String message) { | ||
super(message); | ||
} | ||
|
||
public InferenceFailedException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...api/lib/src/main/java/jp/hiroshiba/voicevoxcore/exceptions/InvalidModelDataException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 InvalidModelDataException extends IOException { | ||
public InvalidModelDataException(String message) { | ||
super(message); | ||
} | ||
|
||
public InvalidModelDataException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...java_api/lib/src/main/java/jp/hiroshiba/voicevoxcore/exceptions/InvalidWordException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package jp.hiroshiba.voicevoxcore.exceptions; | ||
|
||
/** ユーザー辞書の単語のバリデーションに失敗した。 */ | ||
public class InvalidWordException extends IllegalArgumentException { | ||
public InvalidWordException(String message) { | ||
super(message); | ||
} | ||
|
||
public InvalidWordException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ava_api/lib/src/main/java/jp/hiroshiba/voicevoxcore/exceptions/LoadUserDictException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 LoadUserDictException extends IOException { | ||
public LoadUserDictException(String message) { | ||
super(message); | ||
} | ||
|
||
public LoadUserDictException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...i/lib/src/main/java/jp/hiroshiba/voicevoxcore/exceptions/ModelAlreadyLoadedException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package jp.hiroshiba.voicevoxcore.exceptions; | ||
|
||
/** すでに読み込まれている音声モデルを読み込もうとした。 */ | ||
public class ModelAlreadyLoadedException extends IllegalStateException { | ||
public ModelAlreadyLoadedException(String message) { | ||
super(message); | ||
} | ||
|
||
public ModelAlreadyLoadedException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...va_api/lib/src/main/java/jp/hiroshiba/voicevoxcore/exceptions/ModelNotFoundException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package jp.hiroshiba.voicevoxcore.exceptions; | ||
|
||
/** 音声モデルIDに対する音声モデルが見つからなかった。 */ | ||
public class ModelNotFoundException extends IndexOutOfBoundsException { | ||
public ModelNotFoundException(String message) { | ||
super(message); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...b/src/main/java/jp/hiroshiba/voicevoxcore/exceptions/NotLoadedOpenjtalkDictException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package jp.hiroshiba.voicevoxcore.exceptions; | ||
|
||
/** open_jtalk辞書ファイルが読み込まれていない。 */ | ||
public class NotLoadedOpenjtalkDictException extends IllegalStateException { | ||
public NotLoadedOpenjtalkDictException(String message) { | ||
super(message); | ||
} | ||
|
||
public NotLoadedOpenjtalkDictException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...java_api/lib/src/main/java/jp/hiroshiba/voicevoxcore/exceptions/OpenZipFileException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package jp.hiroshiba.voicevoxcore.exceptions; | ||
|
||
import java.io.IOException; | ||
|
||
/** ZIPファイルを開くことに失敗した。 */ | ||
public class OpenZipFileException extends IOException { | ||
public OpenZipFileException(String message) { | ||
super(message); | ||
} | ||
|
||
public OpenZipFileException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...e_java_api/lib/src/main/java/jp/hiroshiba/voicevoxcore/exceptions/ParseKanaException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package jp.hiroshiba.voicevoxcore.exceptions; | ||
|
||
/** AquesTalk風記法のテキストの解析に失敗した。 */ | ||
public class ParseKanaException extends IllegalArgumentException { | ||
public ParseKanaException(String message) { | ||
super(message); | ||
} | ||
|
||
public ParseKanaException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ava_api/lib/src/main/java/jp/hiroshiba/voicevoxcore/exceptions/ReadZipEntryException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package jp.hiroshiba.voicevoxcore.exceptions; | ||
|
||
import java.io.IOException; | ||
|
||
/** ZIP内のファイルが読めなかった。 */ | ||
public class ReadZipEntryException extends IOException { | ||
public ReadZipEntryException(String message) { | ||
super(message); | ||
} | ||
|
||
public ReadZipEntryException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ava_api/lib/src/main/java/jp/hiroshiba/voicevoxcore/exceptions/SaveUserDictException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 SaveUserDictException extends IOException { | ||
public SaveUserDictException(String message) { | ||
super(message); | ||
} | ||
|
||
public SaveUserDictException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...i/lib/src/main/java/jp/hiroshiba/voicevoxcore/exceptions/StyleAlreadyLoadedException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package jp.hiroshiba.voicevoxcore.exceptions; | ||
|
||
/** すでに読み込まれているスタイルを読み込もうとした。 */ | ||
public class StyleAlreadyLoadedException extends IllegalStateException { | ||
public StyleAlreadyLoadedException(String message) { | ||
super(message); | ||
} | ||
|
||
public StyleAlreadyLoadedException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...va_api/lib/src/main/java/jp/hiroshiba/voicevoxcore/exceptions/StyleNotFoundException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package jp.hiroshiba.voicevoxcore.exceptions; | ||
|
||
/** スタイルIDに対するスタイルが見つからなかった。 */ | ||
public class StyleNotFoundException extends IndexOutOfBoundsException { | ||
public StyleNotFoundException(String message) { | ||
super(message); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...java_api/lib/src/main/java/jp/hiroshiba/voicevoxcore/exceptions/UseUserDictException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package jp.hiroshiba.voicevoxcore.exceptions; | ||
|
||
/** OpenJTalkのユーザー辞書の設定に失敗した。 */ | ||
public class UseUserDictException extends RuntimeException { | ||
public UseUserDictException(String message) { | ||
super(message); | ||
} | ||
|
||
public UseUserDictException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...ava_api/lib/src/main/java/jp/hiroshiba/voicevoxcore/exceptions/WordNotFoundException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package jp.hiroshiba.voicevoxcore.exceptions; | ||
|
||
/** ユーザー辞書に単語が見つからなかった。 */ | ||
public class WordNotFoundException extends IndexOutOfBoundsException { | ||
public WordNotFoundException(String message) { | ||
super(message); | ||
} | ||
} |
Oops, something went wrong.