1
0
mirror of synced 2025-01-18 22:41:43 +03:00
doctrine2/classes/Exception/Session.class.php
doctrine 571cb46726
2006-04-13 20:37:28 +00:00

13 lines
415 B
PHP

<?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);
}
}
?>