Added custom exceptions
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
package codes.kalar.exception
|
||||||
|
|
||||||
|
class DbElementInsertionException(message: String? = null, throwable: Throwable? = null ) : Throwable(message, throwable) {
|
||||||
|
}
|
||||||
@@ -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