Implement usage hint using invalid syntax exception.