![]() | ServerChannelRequestError Method |
Namespace: OBCOM.NetSwitchLib.Servers
Exception | Condition |
---|---|
ArgumentNullException | An argument is null. |
The exception could have been be thrown by either a RequestReceived(RequestEvent), a RequestHandler or a RequestCompleted(RequestEvent) method.
This method should execute termination logic common to all failed requests, such as performing a database rollback.
This method is meant to be overridden by classes that extend ServerChannel. This default implementation uses the SendErrorReply(String) method to send a reply message containing the message of the exception.