Code example for HibernateException

0
	public boolean isInstance(Object object) { 
		try { 
			return ReflectHelper.classForName( entityName ).isInstance( object );
		} 
		catch( Throwable t ) {
			throw new HibernateException( "could not get handle to entity-name as interface : " + t );
		} 
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java