コード例 #1
0
 public function __construct()
 {
     parent::__construct('Diatheke is not installed', Exception::NOT_INSTALLED);
 }
コード例 #2
0
 public function __construct($message = 'Configuration error')
 {
     parent::__construct($message, Exception::CONFIGURATION_ERROR);
 }
コード例 #3
0
 public function __construct($message = 'Diatheke error')
 {
     parent::__construct($message, Exception::DIATHEKE_ERROR);
 }
コード例 #4
0
 public function __construct($error)
 {
     parent::__construct('Improper query building: ' . $error, Exception::QUERY_BUILDER);
 }
コード例 #5
0
 public function __construct($error)
 {
     parent::__construct('Reference error: ' . $error, Exception::REFENCE_ERROR);
 }