src/Core/Db/Expression/Builder/JoinBuilder.php
private function _checkJoinArray()
	{
		$defaultJoinArray = array('way' => null, 'tables' => null, 'conditionType' => null, 'condition' => null);
		if($this->joinArray === $defaultJoinArray)
		{
			throw new \Exception('one of the methods: inner(), natural(), left[Outer](), right[Outer] must called before!');
		}
	}
private function _checkJoinArray()
	{
		$defaultJoinArray = array('way' => null, 'tables' => null, 'conditionType' => null, 'condition' => null);
		if($this->joinArray === $defaultJoinArray)
		{
			throw new \Exception('one of the methods: inner(), natural(), left[Outer](), right[Outer] must called before!');
		}
	}
private function _checkJoinArray ( ) { $ defaultJoinArray = array ( 'way' => null , 'tables' => null , 'conditionType' => null , 'condition' => null ) ; if ( $ this -> joinArray === $ defaultJoinArray ) { throw new \ Exception ( 'one of the methods: inner(), natural(), left[Outer](), right[Outer] must called before!' ) ; } }
Compare the join array with the expressions default join array and throw an exception if they are the same.

@throws \Exception
Compare the join array with the expressions default join array and throw an exception if they are the same .