Permalink
Browse files

(re)Added mapping exception for overriding referenceable

  • Loading branch information...
1 parent 253461a commit ca47066df68bcdcfa1c86649e93338d641f50ee9 dantleech committed Oct 30, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/Doctrine/ODM/PHPCR/Mapping/MappingException.php
@@ -102,4 +102,9 @@ public static function mappingFileNotFound($className, $filedName)
{
return new self("No mapping file '$filedName' found for class '$className'.");
}
+
+ public static function cannotOverrideReferenceableAsFalse($className)
+ {
+ return new self("Child document "$className" cannot override the referenceable property to false");
+ }
}

0 comments on commit ca47066

Please sign in to comment.