DuplicateHandlerException Constructor
Namespace: Riptide
Assembly: RiptideNetworking.dll
Overloads
DuplicateHandlerException() | Initializes a new DuplicateHandlerException instance with a specified error message. |
DuplicateHandlerException(string) | Initializes a new DuplicateHandlerException instance with a specified error message. |
DuplicateHandlerException(string, Exception) | Initializes a new DuplicateHandlerException instance with a specified error message and a reference to the inner exception that is the cause of this exception. |
DuplicateHandlerException(ushort, MethodInfo, MethodInfo) | Initializes a new DuplicateHandlerException instance and constructs an error message from the given information. |
DuplicateHandlerException()
Initializes a new DuplicateHandlerException instance with a specified error message.
public DuplicateHandlerException()
DuplicateHandlerException(string)
Initializes a new DuplicateHandlerException instance with a specified error message.
public DuplicateHandlerException(string message)
Parameters
string | message |
The error message that explains the reason for the exception. |
DuplicateHandlerException(string, Exception)
Initializes a new DuplicateHandlerException instance with a specified error message and a reference to the inner exception that is the cause of this exception.
public DuplicateHandlerException(string message, Exception inner)
Parameters
string | message |
The error message that explains the reason for the exception. |
Exception | inner |
The exception that is the cause of the current exception. If |
DuplicateHandlerException(ushort, MethodInfo, MethodInfo)
Initializes a new DuplicateHandlerException instance and constructs an error message from the given information.
public DuplicateHandlerException(ushort id, MethodInfo method1, MethodInfo method2)
Parameters
ushort | id |
The message ID with multiple handler methods. |
MethodInfo | method1 |
The first handler method's info. |
MethodInfo | method2 |
The second handler method's info. |