Use modern exception syntax instead of ugly brackets and commas.