Shouldn't you group multiline strings with parentheses? Anyways, the message is only used once, so better put it in the Exception body directly, no need for another local variable.