public function setCurrentDb($v)
    {
        if (!is_int($v)) {
            throw new Exception("please describe the db as an integer ^^");
        }
        if ($v == Cache::CACHE) {
            throw new Exception("cant use ".Cache::CACHE." in class ".__CLASS__);
        }
        $this->currentDb = $v;

        return $this;
    }