DuplicateHandlerException Class
Namespace: Riptide
Assembly: RiptideNetworking.dll
The exception that is thrown when multiple methods with MessageHandlerAttributes are set to handle messages with the same ID and have the same method signature.
public class DuplicateHandlerException : Exception, ISerializable
Implements
Inherited Members
Constructors
| 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. |
Fields
| DeclaringType1 | The type containing the first handler method. |
| DeclaringType2 | The type containing the second handler method. |
| HandlerMethodName1 | The name of the first handler method. |
| HandlerMethodName2 | The name of the second handler method. |
| Id | The message ID with multiple handler methods. |