您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
28 行
928 B
28 行
928 B
using System;
|
|
|
|
namespace Unity.Netcode
|
|
{
|
|
/// <summary>
|
|
/// Exception thrown when the operation can only be done on the server
|
|
/// </summary>
|
|
public class NotServerException : Exception
|
|
{
|
|
/// <summary>
|
|
/// Constructs a NotServerException
|
|
/// </summary>
|
|
public NotServerException() { }
|
|
|
|
/// <summary>
|
|
/// Constructs a NotServerException with a message
|
|
/// </summary>
|
|
/// <param name="message">The exception message</param>
|
|
public NotServerException(string message) : base(message) { }
|
|
|
|
/// <summary>
|
|
/// Constructs a NotServerException with a message and a inner exception
|
|
/// </summary>
|
|
/// <param name="message">The exception message</param>
|
|
/// <param name="inner">The inner exception</param>
|
|
public NotServerException(string message, Exception inner) : base(message, inner) { }
|
|
}
|
|
}
|