Throw IllegalStateException when a registered controller method does not exist