Changeset 16205

Show
Ignore:
Timestamp:
04/24/08 13:12:29 (6 months ago)
Author:
piotras
Message:

exception function name fixed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midgard/apis/php5/php_midgard_object.c

    r16077 r16205  
    4747                if(!gobject){ 
    4848 
    49                         php_midgard_exception_throw(mgd); 
     49                        php_midgard_error_throw_exception(mgd); 
    5050                        return;  
    5151 
     
    7777                                gobject = midgard_object_new(mgd,  
    7878                                                (const gchar *) zend_classname, 
    79                                                 value); 
     79                                                value);         
    8080                                g_value_unset(value); 
    8181                                g_free(value); 
     
    9191 
    9292                                //php_error(E_WARNING, "I am the exception, please throw me"); 
    93                                 php_midgard_exception_throw(mgd); 
     93                                php_midgard_error_throw_exception(mgd); 
    9494                                return; 
    9595                        } 
     
    168168         
    169169                //php_error(E_WARNING, "I am the exception, please throw me"); 
    170                 //if(!php_midgard_exception_throw(mobj->mgd)) 
     170                //if(!php_midgard_error_throw_exception(mobj->mgd)) 
    171171                //      RETVAL_TRUE; 
    172172        } 
     
    192192                        RETVAL_TRUE; 
    193193                //php_error(E_WARNING, "I am the exception, please throw me"); 
    194                 //if(!php_midgard_exception_throw(mobj->mgd))  
     194                //if(!php_midgard_error_throw_exception(mobj->mgd))    
    195195        } 
    196196} 
     
    217217                        RETVAL_TRUE; 
    218218                //php_error(E_WARNING, "I am the exception, please throw me"); 
    219                 //if(!php_midgard_exception_throw(mobj->mgd)) 
     219                //if(!php_midgard_error_throw_exception(mobj->mgd)) 
    220220        }   
    221221} 
     
    244244 
    245245                //php_error(E_WARNING, "I am the exception, please throw me"); 
    246                 //if(!php_midgard_exception_throw(mobj->mgd)) 
     246                //if(!php_midgard_error_throw_exception(mobj->mgd)) 
    247247        }       
    248248} 
     
    329329                        RETVAL_TRUE; 
    330330                //php_error(E_WARNING, "I am the exception, please throw me"); 
    331                 //if(!php_midgard_exception_throw(mobj->mgd)) 
     331                //if(!php_midgard_error_throw_exception(mobj->mgd)) 
    332332        }  
    333333} 
     
    384384                midgard_object_get(mobj); 
    385385                php_error(E_WARNING, "I am the exception, please throw me"); 
    386                 //if(!php_midgard_exception_throw(mobj->mgd)) 
     386                //if(!php_midgard_error_throw_exception(mobj->mgd)) 
    387387                //      RETVAL_TRUE; 
    388388        } 
     
    580580         
    581581                //php_error(E_WARNING, "I am the exception, please throw me"); 
    582                 //if(!php_midgard_exception_throw(mobj->mgd)) 
     582                //if(!php_midgard_error_throw_exception(mobj->mgd)) 
    583583        } 
    584584}