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