Ejemplo n.º 1
0
 public function __construct()
 {
     if (!php_Boot::$skip_constructor) {
         parent::__construct(null, _hx_anonymous(array("fileName" => "Error.hx", "lineNumber" => 60, "className" => "system.base.Dbexception", "methodName" => "new")));
         system_base_Error::wipe(" connection not established or already closed.");
     }
 }
Ejemplo n.º 2
0
 public function __construct($e)
 {
     if (!php_Boot::$skip_constructor) {
         parent::__construct(null, _hx_anonymous(array("fileName" => "Error.hx", "lineNumber" => 102, "className" => "system.base.NoFileError", "methodName" => "new")));
         system_base_Error::wipe($e);
     }
 }
 public function __construct($e)
 {
     if (!php_Boot::$skip_constructor) {
         parent::__construct(null, _hx_anonymous(array("fileName" => "Error.hx", "lineNumber" => 69, "className" => "system.base.NoSuchDbexception", "methodName" => "new")));
         system_base_Error::wipe(_hx_string_or_null($e) . ": " . "The database type you have requested is not available.");
     }
 }
Ejemplo n.º 4
0
 public function __construct($e, $sql = null)
 {
     if (!php_Boot::$skip_constructor) {
         parent::__construct(null, _hx_anonymous(array("fileName" => "Error.hx", "lineNumber" => 78, "className" => "system.base.BadSQLException", "methodName" => "new")));
         $strings = null;
         $strings = _hx_string_call($e, "split", array(";"));
         haxe_Log::trace(system_base_Sql_colour::pretify($sql), _hx_anonymous(array("fileName" => "Error.hx", "lineNumber" => 81, "className" => "system.base.BadSQLException", "methodName" => "new")));
         haxe_Log::trace(system_base_Sql_colour::pretify($strings[0]), _hx_anonymous(array("fileName" => "Error.hx", "lineNumber" => 82, "className" => "system.base.BadSQLException", "methodName" => "new")));
         system_base_Error::wipe("SQL said: " . _hx_string_or_null($strings[1]));
     }
 }