您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
24 行
767 B
24 行
767 B
using System;
|
|
|
|
namespace Unity.Netcode
|
|
{
|
|
/// <summary>
|
|
/// Exception thrown when the new parent candidate of the NetworkObject is not valid
|
|
/// </summary>
|
|
public class InvalidParentException : Exception
|
|
{
|
|
/// <summary>
|
|
/// Constructor for <see cref="InvalidParentException"/>
|
|
/// </summary>
|
|
public InvalidParentException() { }
|
|
|
|
/// <inheritdoc/>
|
|
/// <param name="message"></param>
|
|
public InvalidParentException(string message) : base(message) { }
|
|
|
|
/// <inheritdoc/>
|
|
/// <param name="message"></param>
|
|
/// <param name="innerException"></param>
|
|
public InvalidParentException(string message, Exception innerException) : base(message, innerException) { }
|
|
}
|
|
}
|