Added custom exceptions
This commit is contained in:
4
src/main/kotlin/exception/DbElementInsertionException.kt
Normal file
4
src/main/kotlin/exception/DbElementInsertionException.kt
Normal file
@@ -0,0 +1,4 @@
|
||||
package codes.kalar.exception
|
||||
|
||||
class DbElementInsertionException(message: String? = null, throwable: Throwable? = null ) : Throwable(message, throwable) {
|
||||
}
|
||||
4
src/main/kotlin/exception/DbElementNotFoundException.kt
Normal file
4
src/main/kotlin/exception/DbElementNotFoundException.kt
Normal file
@@ -0,0 +1,4 @@
|
||||
package codes.kalar.exception
|
||||
|
||||
class DbElementNotFoundException(message: String? = null, throwable: Throwable? = null ) : Throwable(message, throwable) {
|
||||
}
|
||||
Reference in New Issue
Block a user