Initializes a new instance of the WhoisClientException class with a specified error number.
This constructor sets the ErrorCode property to the specified error code. For more information about the errors that may occur, refer to the WhoisClient.ErrorCode enumeration.