fun deserealize(jsonSource: String, responseCode: Int): JsonException
Tries to deserealize java.lang.String data from http response.
jsonSource
- java.lang.String of exception data from http response.
responseCode
- http response code corresponding to exception.
ClassNotFoundException
- if class definition wasn't found.
IllegalAccessException
- if there was access right violation.
InstantiationException
- if failure happened during exception class instantiation.
Return
deserealized instance that extend com.srv4pos.server.api.exceptions.base.JsonException