Changeset 257 for trunk/nom/src/nomdebug.c
- Timestamp:
- Mar 15, 2007, 10:44:41 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nom/src/nomdebug.c
r256 r257 60 60 { 61 61 if(!nomObject) 62 g_ warning("The object used to call the method %s is not valid. A NULL pointer was given.", chrMethodName);62 g_error("The object used to call the method %s is not valid. A NULL pointer was given.", chrMethodName); 63 63 else{ 64 64 if(!nomIsObj(nomObject)) 65 g_ warning("The object used to call the method %s is not a valid NOM object. ", chrMethodName);65 g_error("The object used to call the method %s is not a valid NOM object. ", chrMethodName); 66 66 else 67 g_ warning("The object for which the method %s should be called is not valid for this method.\nThe object must be some instance of class %s (or of a subclass) but is a %s.", chrMethodName, NOMClass_nomGetCreatedClassName(nomClass, NULLHANDLE),67 g_error("The object for which the method %s should be called is not valid for this method.\nThe object must be some instance of class %s (or of a subclass) but is a %s.", chrMethodName, NOMClass_nomGetCreatedClassName(nomClass, NULLHANDLE), 68 68 NOMObject_nomGetClassName(nomObject, NULLHANDLE)); 69 69 }
Note:
See TracChangeset
for help on using the changeset viewer.