您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
34 行
858 B
34 行
858 B
using System;
|
|
|
|
namespace Unity.Services.Lobbies.Http
|
|
{
|
|
[Serializable]
|
|
public class DeserializationException : Exception
|
|
{
|
|
public HttpClientResponse response;
|
|
|
|
public DeserializationException() : base()
|
|
{
|
|
}
|
|
|
|
public DeserializationException(string message) : base(message)
|
|
{
|
|
}
|
|
|
|
DeserializationException(string message, Exception inner) : base(message, inner)
|
|
{
|
|
}
|
|
|
|
public DeserializationException(HttpClientResponse httpClientResponse) : base(
|
|
"Unable to Deserialize Http Client Response")
|
|
{
|
|
response = httpClientResponse;
|
|
}
|
|
|
|
public DeserializationException(HttpClientResponse httpClientResponse, string message) : base(
|
|
message)
|
|
{
|
|
response = httpClientResponse;
|
|
}
|
|
}
|
|
}
|