You are here

class OutOfBoundsException in Plug 7

Same name in this branch
  1. 7 lib/Symfony/validator/Symfony/Component/Validator/Exception/OutOfBoundsException.php \Symfony\Component\Validator\Exception\OutOfBoundsException
  2. 7 lib/doctrine/common/lib/Doctrine/Common/Proxy/Exception/OutOfBoundsException.php \Doctrine\Common\Proxy\Exception\OutOfBoundsException

Proxy Invalid Argument Exception.

@link www.doctrine-project.org @author Fredrik Wendel <fredrik_w@users.sourceforge.net>

Hierarchy

Expanded class hierarchy of OutOfBoundsException

1 file declares its use of OutOfBoundsException
AbstractProxyFactory.php in lib/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php

File

lib/doctrine/common/lib/Doctrine/Common/Proxy/Exception/OutOfBoundsException.php, line 30

Namespace

Doctrine\Common\Proxy\Exception
View source
class OutOfBoundsException extends BaseOutOfBoundsException implements ProxyException {

  /**
   * @param string $className
   * @param string $idField
   *
   * @return self
   */
  public static function missingPrimaryKeyValue($className, $idField) {
    return new self(sprintf("Missing value for primary key %s on %s", $idField, $className));
  }

}

Members