v.0.6.3 stable
This commit is contained in:
parent
f22ecf493b
commit
74c8bdde71
@ -16,7 +16,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "net.sergeych"
|
||||
version = "0.6.3-SNAPSHOT"
|
||||
version = "0.6.3"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
@ -10,6 +10,10 @@
|
||||
|
||||
package net.sergeych.kiloparsec
|
||||
|
||||
/**
|
||||
* External errors wich needs to be encoded with a specific code
|
||||
* should implement this interface so it will be serialized properly.
|
||||
*/
|
||||
interface ExceptionWithCode {
|
||||
val code: String
|
||||
val message: String?
|
||||
|
@ -40,7 +40,7 @@ open class KiloInterface<S> : LocalInterface<KiloScope<S>>() {
|
||||
registerError { RemoteInterface.UnknownCommand(it) }
|
||||
registerError { RemoteInterface.InternalError(it) }
|
||||
registerError { RemoteInterface.ClosedException(it) }
|
||||
// registerError { RemoteInterface.SecurityException(it) }
|
||||
registerError { RemoteInterface.SecurityException(it) }
|
||||
registerError { RemoteInterface.InvalidDataException(it) }
|
||||
registerError { RemoteInterface.RemoteException(it) }
|
||||
registerError { IllegalStateException() }
|
||||
|
Loading…
x
Reference in New Issue
Block a user