<NME> Undefined.php
<BEF> ADDFILE
<MSG> closes #29

<DFF> @@ -0,0 +1,43 @@
+<?php
+
+/*
+ * This file is part of the Orient package.
+ *
+ * (c) Alessandro Nadalin <alessandro.nadalin@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/**
+ * Undefined exceptionclass gets raised when you try to call a non existing
+ * method in a class.
+ *
+ * @package    Orient
+ * @subpackage Exception
+ * @author     Alessandro Nadalin <alessandro.nadalin@gmail.com>
+ */
+
+namespace Orient\Exception\Method;
+
+use Orient\Exception;
+
+class Undefined extends Exception
+{
+  const MESSAGE =
+<<<EOF
+  The class %s does not have the %s method.
+EOF;
+
+  /**
+   * Constructs the error message.
+   *
+   * @param string $class
+   * @param string $method
+   */
+  public function __construct($class, $method)
+  {
+    $this->message = sprintf(self::MESSAGE, $class, $method);
+  }
+}
+

{'addition_count': 43, 'commit_subject': 'closes #29', 'deletion_count': 0, 'file_extension': '.php', 'lang': 'php', 'license': 'mit', 'repo_name': 'doctrine/orientdb-odm'}