Throw an exception only with `Hoa` family classes.

Because some other vendors can misuse `class_exists()`.