Use modern exception syntax instead of ugly brackets and commas (in a second place).