You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
648 B
32 lines
648 B
#if !NET20
|
|
|
|
using System;
|
|
|
|
namespace Apewer.WebSocket
|
|
{
|
|
|
|
internal class WebSocketException : Exception
|
|
{
|
|
|
|
internal WebSocketException(ushort statusCode) : base()
|
|
{
|
|
StatusCode = statusCode;
|
|
}
|
|
|
|
internal WebSocketException(ushort statusCode, string message) : base(message)
|
|
{
|
|
StatusCode = statusCode;
|
|
}
|
|
|
|
internal WebSocketException(ushort statusCode, string message, Exception innerException) : base(message, innerException)
|
|
{
|
|
StatusCode = statusCode;
|
|
}
|
|
|
|
public ushort StatusCode { get; private set;}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|