EDOC-1218: changed exception throwing for unknown dialect