Doctrine\DBAL\Migrations\SqlFileWriter::throwInvalidArgumentException PHP Метод

throwInvalidArgumentException() защищенный Метод

This only exists for backwards-compatibiliy with DBAL 2.4
protected throwInvalidArgumentException ( $message )
    protected function throwInvalidArgumentException($message)
    {
        if (class_exists('Doctrine\\DBAL\\Exception\\InvalidArgumentException')) {
            throw new InvalidArgumentException($message);
        } else {
            throw new DBALException($message);
        }
    }