ProtocolException

Constructors

Link copied to clipboard
constructor(message: String, code: Int)
constructor(message: String, code: Int, cause: Throwable)

Properties

Link copied to clipboard
open val cause: Throwable
Link copied to clipboard
val code: Int
Link copied to clipboard
val INTERNAL_CODE: Int = 500
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun addSuppressed(exception: Throwable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun badState(thisState: Any): ProtocolException
Link copied to clipboard
open fun commandClassDoesNotMatch(expectedClazz: Class<out MessageLite>, actual: MessageLite): ProtocolException
Link copied to clipboard
open fun commandDoesNotMatch(expected: MessageLite, actual: MessageLite): ProtocolException
Link copied to clipboard
open fun commandMissingField(clazz: Class<out Any>, missingField: String): ProtocolException
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMessage(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun initCause(cause: Throwable): Throwable
Link copied to clipboard
open fun methodNotFound(serviceName: String, handlerName: String): ProtocolException
Link copied to clipboard
open fun printStackTrace()
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
Link copied to clipboard
open fun unexpectedMessage(expected: Class<out MessageLite>, actual: MessageLite): ProtocolException
open fun unexpectedMessage(type: String, actual: MessageLite): ProtocolException
Link copied to clipboard