Falcon::core::ErrorObject Class Reference

Reflective class for error. More...

#include <error.h>

Inheritance diagram for Falcon::core::ErrorObject:

Inheritance graph

List of all members.

Public Member Functions

virtual CoreObjectclone () const
 Creates a shallow copy of this item.
 ErrorObject (const CoreClass *cls, Error *err)
virtual void gcMark (uint32 mark)
 Mark the items in the cache and the inner data, if it's garbageable.
ErrorgetError () const
virtual ~ErrorObject ()

Detailed Description

Reflective class for error.

Constructor & Destructor Documentation

Falcon::core::ErrorObject::ErrorObject ( const CoreClass cls,
Error err 

virtual Falcon::core::ErrorObject::~ErrorObject (  )  [virtual]

Member Function Documentation

virtual CoreObject* Falcon::core::ErrorObject::clone (  )  const [virtual]

Creates a shallow copy of this item.

Will return zero if this item has a non-cloneable user-defined data, that is, it's not fully manageable by the language.

Clone operation requests the class ObjectManager to clone the user_data stored in this object, if any. In turn, the ObjectManager may ask the user_data, properly cast, to clone itself. If one of this operation fails or is not possible, then the method returns 0. The VM will eventually raise a CloneError to signal that the operation tried to clone a non manageable user-data object.

If this object has not a user_data, then the cloneing will automatically succeed.

a shallow copy of this item.

Reimplemented from Falcon::CRObject.

virtual void Falcon::core::ErrorObject::gcMark ( uint32  mark  )  [virtual]

Mark the items in the cache and the inner data, if it's garbageable.

If this object contains an external FalconData instance, it gets marked; anyhow, this function marks the cache items.

Reimplemented from Falcon::CacheObject.

Error* Falcon::core::ErrorObject::getError (  )  const [inline]

The documentation for this class was generated from the following file:

Generated on Mon Oct 19 10:11:50 2009 for Falcon_Core by  doxygen 1.5.8