Doctrine 1

In the relatedExists method of the Doctrine_Record class the exception is incorrectly thrown imho