Class InvalidPlayerNameException
An exception thrown when a player name is invalid.
public class InvalidPlayerNameException : Exception, ISerializable
- Inheritance
-
InvalidPlayerNameException
- Implements
- Inherited Members
Constructors
InvalidPlayerNameException()
Initializes a new instance of the InvalidPlayerNameException class.
public InvalidPlayerNameException()
InvalidPlayerNameException(string)
Initializes a new instance of the InvalidPlayerNameException class with a specified error message.
public InvalidPlayerNameException(string message)
Parameters
messagestringThe message that describes the error.
InvalidPlayerNameException(string, Exception?)
Initializes a new instance of the InvalidPlayerNameException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public InvalidPlayerNameException(string message, Exception? inner)