Oficina Framework  1.3
Games Framework
OficinaFramework::SystemInitializationErrorException Class Reference

Exception for errors when initializing any system. More...

#include <OficinaExceptions.hpp>

Inheritance diagram for OficinaFramework::SystemInitializationErrorException:
OficinaFramework::OficinaException

Public Member Functions

 SystemInitializationErrorException ()
 Instantiates the exception with default error message. More...
 
 SystemInitializationErrorException (std::string message)
 Instantiates the exception with a given error message. More...
 
 SystemInitializationErrorException (std::string message, std::string systemname)
 Instantiates the exception with a given error message. Also identifies the System with errors. More...
 
std::string GetSystemName ()
 A string containing the system name. More...
 
std::string GetMessageAndSystemName ()
 A string containing the message and the system name. More...
 
virtual const char * what () const throw ()
 Returns the message and troubling internal system name for the actual system exception display. More...
 
- Public Member Functions inherited from OficinaFramework::OficinaException
 OficinaException ()
 Instantiates the exception with default error message. More...
 
 OficinaException (std::string message)
 Instantiates the exception with a given error message. More...
 
std::string GetMessage ()
 Gets the exception message. More...
 

Additional Inherited Members

- Protected Attributes inherited from OficinaFramework::OficinaException
std::string message
 

Detailed Description

Exception for errors when initializing any system.

Constructor & Destructor Documentation

◆ SystemInitializationErrorException() [1/3]

OficinaFramework::SystemInitializationErrorException::SystemInitializationErrorException ( )
inline

Instantiates the exception with default error message.

◆ SystemInitializationErrorException() [2/3]

OficinaFramework::SystemInitializationErrorException::SystemInitializationErrorException ( std::string  message)
inline

Instantiates the exception with a given error message.

Parameters
messageThe message to be set to the exception.

◆ SystemInitializationErrorException() [3/3]

OficinaFramework::SystemInitializationErrorException::SystemInitializationErrorException ( std::string  message,
std::string  systemname 
)
inline

Instantiates the exception with a given error message. Also identifies the System with errors.

Parameters
messageThe message to be set to the exception.
systemnameThe path or name of the problematic system.

Member Function Documentation

◆ GetMessageAndSystemName()

std::string OficinaFramework::SystemInitializationErrorException::GetMessageAndSystemName ( )

A string containing the message and the system name.

Returns
Exception message, plus the problematic system name.

◆ GetSystemName()

std::string OficinaFramework::SystemInitializationErrorException::GetSystemName ( )

A string containing the system name.

Returns
Name of the problematic system.

◆ what()

virtual const char* OficinaFramework::SystemInitializationErrorException::what ( ) const
throw (
)
inlinevirtual

Returns the message and troubling internal system name for the actual system exception display.

Returns
See also
GetMessageAndSystemName

Reimplemented from OficinaFramework::OficinaException.

References OficinaFramework::OficinaException::message.


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