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