MethodStreamSerializableException constructor

MethodStreamSerializableException(
  1. Map data,
  2. SerializationManager serializationManager
)

Creates a new MethodStreamSerializableException. The exception must be a serializable exception processed by the SerializationManager.wrapWithClassName method.

Implementation

MethodStreamSerializableException(
  Map data,
  SerializationManager serializationManager,
)   : endpoint = data[WebSocketMessageDataKey.endpoint],
      method = data[WebSocketMessageDataKey.method],
      connectionId = UuidValueJsonExtension.fromJson(
          data[WebSocketMessageDataKey.connectionId]),
      parameter = data[WebSocketMessageDataKey.parameter],
      exception = serializationManager
          .deserializeByClassName(data[WebSocketMessageDataKey.exception]);