Code example for HibernateException

0
		} 
		try { 
			return ReflectHelper.classForName( entityName ).isInstance( object );
		} 
		catch( Throwable t ) {
			throw new HibernateException( "could not get handle to entity-name as interface : " + t );
		} 
 
//		return entityName.equals( resolvedEntityName ); 
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java