library/Garp/Content/Relation/Manager.php
static public function isInvalidReferenceException(Exception $e) {
        return stripos($e->getMessage(), 'No reference') !== false ||
            preg_match('/Reference rule "(.+)" does not reference table (.+)/', $e->getMessage());
    }
static public function isInvalidReferenceException(Exception $e) {
        return stripos($e->getMessage(), 'No reference') !== false ||
            preg_match('/Reference rule "(.+)" does not reference table (.+)/', $e->getMessage());
    }
static public function isInvalidReferenceException ( Exception $ e ) { return stripos ( $ e -> getMessage ( ) , 'No reference' ) !== false || preg_match ( '/Reference rule "(.+)" does not reference table (.+)/' , $ e -> getMessage ( ) ) ; }
Unfortunately, almost all the Zend exceptions coming from Zend_Db_Table_Abstract are of type
Zend_Db_Table_Exception, so we cannot check wether a query fails or wether there is no
binding possible.
This method checks wether the exception describes an invalid reference.

@param Exception $e
@return bool
Unfortunately almost all the Zend exceptions coming from Zend_Db_Table_Abstract are of type Zend_Db_Table_Exception so we cannot check wether a query fails or wether there is no binding possible . This method checks wether the exception describes an invalid reference .