Throw an exception only with `Hoa` family classes.

Because some other vendors can misuse `class_exists()`.
[auto] Merge from Core

    • #0735018 — Throw an exception only with `Hoa` family classes. (Ivan Enderlin, 2013-08-25)

---

Merge remote branch 'library-core/master'