extract remote service error handling - use helper in AccountRegistryService - use helper in DeviceRegistryService - add responseErrorHandler in Helper.kt - add hlaejaErrorHandler in Helper.kt change NoChangeException to extend HlaejaException change NotFoundException to extend HlaejaException
24 lines
541 B
Kotlin
24 lines
541 B
Kotlin
package ltd.hlaeja.exception
|
|
|
|
@Suppress("unused")
|
|
open class NoChangeException : HlaejaException {
|
|
|
|
constructor() : super()
|
|
|
|
constructor(message: String) : super(message)
|
|
|
|
constructor(cause: Throwable) : super(cause)
|
|
|
|
constructor(
|
|
message: String,
|
|
cause: Throwable,
|
|
) : super(message, cause)
|
|
|
|
constructor(
|
|
message: String,
|
|
cause: Throwable,
|
|
enableSuppression: Boolean,
|
|
writableStackTrace: Boolean,
|
|
) : super(message, cause, enableSuppression, writableStackTrace)
|
|
}
|