Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 18, 2013, 5:01:40 PM (11 years ago)
Author:
landauf
Message:

enhanced error message if RegisterObject is missing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/libraries/core/class/IdentifierManager.cc

    r9652 r9660  
    121121                    Identifiable* temp = it->second->fabricate(&temporaryContext);
    122122                    if (temp->getIdentifier() != it->second)
    123                         orxout(internal_error) << "Newly created object has unexpected identifier" << endl;
     123                        orxout(internal_error) << "Newly created object of type " << it->second->getName() << " has unexpected identifier. Did you forget to use RegisterObject(classname)?" << endl;
    124124                    delete temp;
    125125
Note: See TracChangeset for help on using the changeset viewer.