Table of Contents

Class InvalidPlayerNameException

Namespace
SampSharp.Entities.SAMP
Assembly
SampSharp.OpenMp.Entities.dll

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

message string

The 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)

Parameters

message string

The message that describes the error.

inner Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.