Fix error message when Bean not subClass of TDBM

Signed-off-by: Kvin Nguyen <k.nguyen@thecodingmachine.com>