1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/Doctrine/Session/Exception.php

14 lines
458 B
PHP
Raw Normal View History

2006-05-30 13:02:35 +04:00
<?php
2006-05-30 22:43:36 +04:00
Doctrine::autoload('Doctrine_Exception');
2006-05-30 13:02:35 +04:00
/**
* 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);
}
}
?>