2022-01-26 10:32:16 -06:00
|
|
|
|
using System.Net.Sockets;
|
2017-05-26 17:49:27 -05:00
|
|
|
|
|
2018-04-08 01:44:42 -05:00
|
|
|
|
namespace SharedLibraryCore.Exceptions
|
2017-05-26 17:49:27 -05:00
|
|
|
|
{
|
|
|
|
|
public class NetworkException : ServerException
|
|
|
|
|
{
|
2022-01-26 10:32:16 -06:00
|
|
|
|
public NetworkException(string msg) : base(msg)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2018-09-29 14:52:22 -05:00
|
|
|
|
public NetworkException(string msg, Socket s) : base(msg)
|
|
|
|
|
{
|
2022-01-26 10:32:16 -06:00
|
|
|
|
Data.Add("socket", s);
|
2018-09-29 14:52:22 -05:00
|
|
|
|
}
|
2017-05-26 17:49:27 -05:00
|
|
|
|
}
|
2022-01-26 10:32:16 -06:00
|
|
|
|
}
|