Safir SDK Core
|
Thrown when an injection handler tries to set/delete an entity for which there is a ghost instance that has not yet been injected. More...
#include <Safir/Dob/GhostExistsException.h>
Public Member Functions | |
GhostExistsException (const std::wstring &message, const std::wstring &fileName, const Safir::Dob::Typesystem::Int64 lineNumber) | |
Constructor with exception information. More... | |
virtual const std::wstring | GetName () const |
Get the exception name. More... | |
virtual Safir::Dob::Typesystem::TypeId | GetTypeId () const |
Get the type id of this exception. More... | |
Public Member Functions inherited from Safir::Dob::Typesystem::FundamentalException | |
FundamentalException (const std::wstring &message, const std::wstring &fileName, const Dob::Typesystem::Int64 lineNumber) | |
Constructor with exception information. More... | |
Public Member Functions inherited from Safir::Dob::Typesystem::Internal::CommonExceptionBase | |
CommonExceptionBase (const std::wstring &message, const std::wstring &fileName, const Dob::Typesystem::Int64 lineNumber) | |
Constructor with exception information. More... | |
virtual | ~CommonExceptionBase () throw () |
Destroy the exception. More... | |
const std::wstring | GetExceptionInfo () const |
Get a formatted string containing all the information in the exception. More... | |
virtual const char * | what () const throw () |
Get the GetExceptionInfo as a UTF8 encoded string. More... | |
const std::wstring & | GetMessage () const |
Get the message about why the exception occurred. More... | |
const std::wstring & | GetFileName () const |
Get the name of the file where the exception occurred. More... | |
const Dob::Typesystem::Int64 | GetLineNumber () const |
Get the line number that the exception occurred on. More... | |
Static Public Attributes | |
static const Safir::Dob::Typesystem::TypeId | ExceptionTypeId = -6339972375288415073LL |
Type id for GhostExistsException. More... | |
Static Public Attributes inherited from Safir::Dob::Typesystem::FundamentalException | |
static const TypeId | ExceptionTypeId = 5177142987005172374LL |
The TypeId of this exception. More... | |
Thrown when an injection handler tries to set/delete an entity for which there is a ghost instance that has not yet been injected.
Safir::Dob::GhostExistsException::GhostExistsException | ( | const std::wstring & | message, |
const std::wstring & | fileName, | ||
const Safir::Dob::Typesystem::Int64 | lineNumber | ||
) |
Constructor with exception information.
Creates an exception that contains information about why and where the exception occurred.
message | [in] - A message describing why the exception occurred. |
fileName | [in] - The name of the file where the exception occurred. Always use WFILE as the argument for this parameter. |
lineNumber | [in] - The line number that the exception occurred on. Always use LINE as the argument for this parameter. |
|
virtual |
Get the exception name.
Implements Safir::Dob::Typesystem::Internal::CommonExceptionBase.
|
virtual |
Get the type id of this exception.
Gets the type id of the exception. Method is virtual to ensure that the right value gets returned for pointers or references.
Note: This method is overridden by all auto-generated classes.
Reimplemented from Safir::Dob::Typesystem::FundamentalException.
|
static |
Type id for GhostExistsException.