Wrap in curly braces. Capitalize "Target" in exception message. I'd also argue that this should be a `NullPointerException`.