1
0
mirror of synced 2025-02-07 15:59:27 +03:00
doctrine2/classes/Session/Exception.class.php

14 lines
493 B
PHP
Raw Normal View History

2006-05-30 07:26:42 +00:00
<?php
require_once(Doctrine::getPath().DIRECTORY_SEPARATOR."Exception.class.php");
/**
* thrown when user tries to get the current
* session and there are no open sessions
*/
class Doctrine_Session_Exception extends Doctrine_Exception {
public function __construct() {
parent::__construct("There are no opened sessions. Use
Doctrine_Manager::getInstance()->openSession() to open a new session.",Doctrine::ERR_NO_SESSIONS);
}
}
?>