Some error classes
This commit is contained in:
parent
d8804c0efc
commit
77f32fc5b6
@ -0,0 +1,8 @@
|
|||||||
|
package ru.landgrafhomyak.db.serdha0.api
|
||||||
|
|
||||||
|
public open class ConfigurationError : Error {
|
||||||
|
public constructor() : super()
|
||||||
|
public constructor(message: String) : super(message)
|
||||||
|
public constructor(message: String, cause: Throwable) : super(message, cause)
|
||||||
|
public constructor(cause: Throwable) : super(cause)
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
package ru.landgrafhomyak.db.serdha0.api
|
||||||
|
|
||||||
|
public open class ExecutionException : RuntimeException {
|
||||||
|
public constructor() : super()
|
||||||
|
public constructor(message: String) : super(message)
|
||||||
|
public constructor(message: String, cause: Throwable) : super(message, cause)
|
||||||
|
public constructor(cause: Throwable) : super(cause)
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
package ru.landgrafhomyak.db.serdha0.api
|
||||||
|
|
||||||
|
import kotlin.jvm.JvmField
|
||||||
|
import ru.landgrafhomyak.db.serdha0.api.table.RowId
|
||||||
|
|
||||||
|
public class InvalidRowIdError(@JvmField public val badRowId: RowId<*>) : Error("Referenced row was removed from table: $badRowId")
|
Loading…
Reference in New Issue
Block a user