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