forked from Unity-Technologies/com.unity.netcode.gameobjects
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNotServerException.cs
More file actions
37 lines (31 loc) · 1017 Bytes
/
Copy pathNotServerException.cs
File metadata and controls
37 lines (31 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using System;
namespace MLAPI.Exceptions
{
/// <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)
{
}
}
}