Ejemplo n.º 1
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);
     }
 }
Ejemplo n.º 2
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.");
     }
 }
 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($message, $Http_Code = null, $info = null)
 {
     if (!php_Boot::$skip_constructor) {
         parent::__construct(null, _hx_anonymous(array("fileName" => "Error.hx", "lineNumber" => 41, "className" => "system.base.General_error", "methodName" => "new")));
         $message1 = null;
         $message1 = Std::string($message);
         haxe_Log::trace("DEPRECATED FUNCTION: " . _hx_string_or_null($message1), _hx_anonymous(array("fileName" => "Base.hx", "lineNumber" => 449, "className" => "system.base.Wet_base", "methodName" => "echo")));
     }
 }
Ejemplo n.º 5
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]));
     }
 }
Ejemplo n.º 6
0
 public function __construct($message, $Http_Code, $info = null)
 {
     if (!php_Boot::$skip_constructor) {
         parent::__construct(null, _hx_anonymous(array("fileName" => "Error.hx", "lineNumber" => 50, "className" => "system.base.Http_exception", "methodName" => "new")));
         while (!system_base_Cache::$cookie_buffer->isEmpty()) {
             system_base_Wet_base::send_cookie(system_base_Cache::$cookie_buffer->pop());
         }
         header("X-Powered-By" . ": " . "Webrathea/0.4 (PHP)");
         $value = DateTools::format(Date::now(), "%a, %d %b %Y %X %Z");
         header("Date" . ": " . _hx_string_or_null($value));
         header("X-Frame-Options" . ": " . "sameorigin");
         header("X-XSS-Protection" . ": " . "1; mode=block");
         php_Web::setReturnCode($Http_Code);
         $message1 = null;
         $message1 = Std::string($message);
         haxe_Log::trace("DEPRECATED FUNCTION: " . _hx_string_or_null($message1), _hx_anonymous(array("fileName" => "Base.hx", "lineNumber" => 449, "className" => "system.base.Wet_base", "methodName" => "echo")));
     }
 }