-
Notifications
You must be signed in to change notification settings - Fork 43
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
1 parent
00b60cd
commit f1a5522
Showing
7 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
core/src/main/kotlin/core/exception/CannotReadFileException.kt
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
package core.exception | ||
|
||
@OptIn(ExperimentalJsExport::class) | ||
@JsExport | ||
class CannotReadFileException : Throwable() |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
package core.exception | ||
|
||
@OptIn(ExperimentalJsExport::class) | ||
@JsExport | ||
class EmptyProjectException : Throwable("This format could not take en empty project.") |
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
2 changes: 2 additions & 0 deletions
2
core/src/main/kotlin/core/exception/NotesOverlappingException.kt
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
package core.exception | ||
|
||
@OptIn(ExperimentalJsExport::class) | ||
@JsExport | ||
class NotesOverlappingException : Throwable( | ||
"Failed to process because there are notes overlapping with each other.", | ||
) |
4 changes: 4 additions & 0 deletions
4
core/src/main/kotlin/core/exception/UnsupportedFileFormatError.kt
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 |
---|---|---|
@@ -1,5 +1,9 @@ | ||
package core.exception | ||
|
||
@OptIn(ExperimentalJsExport::class) | ||
@JsExport | ||
open class UnsupportedFileFormatError : Exception() | ||
|
||
@OptIn(ExperimentalJsExport::class) | ||
@JsExport | ||
class UnsupportedLegacyPpsfError : UnsupportedFileFormatError() |
2 changes: 2 additions & 0 deletions
2
core/src/main/kotlin/core/exception/ValueTooLargeException.kt
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
package core.exception | ||
|
||
@OptIn(ExperimentalJsExport::class) | ||
@JsExport | ||
class ValueTooLargeException(value: String, maxValue: String) : Throwable( | ||
"Given value $value is larger than the maximum: $maxValue.", | ||
) |