Exception for asset importing errors.
More...
#include <OficinaExceptions.hpp>
Exception for asset importing errors.
◆ InvalidAssetException() [1/3]
OficinaFramework::InvalidAssetException::InvalidAssetException |
( |
| ) |
|
|
inline |
Instantiates the exception with default error message.
◆ InvalidAssetException() [2/3]
OficinaFramework::InvalidAssetException::InvalidAssetException |
( |
std::string |
message | ) |
|
|
inline |
Instantiates the exception with a given error message.
- Parameters
-
message | The message to be set to the exception. |
◆ InvalidAssetException() [3/3]
OficinaFramework::InvalidAssetException::InvalidAssetException |
( |
std::string |
message, |
|
|
std::string |
assetname |
|
) |
| |
|
inline |
Instantiates the exception with a given error message. Also identifies the asset with errors.
- Parameters
-
message | The message to be set to the exception. |
assetname | The path or name of the problematic asset. |
◆ GetAssetName()
std::string OficinaFramework::InvalidAssetException::GetAssetName |
( |
| ) |
|
A string containing the asset name or path.
- Returns
- Name or path of the problematic asset.
◆ GetMessageAndAssetName()
std::string OficinaFramework::InvalidAssetException::GetMessageAndAssetName |
( |
| ) |
|
A string containing the message and the asset name.
- Returns
- Exception message, plus the problematic asset name.
◆ what()
virtual const char* OficinaFramework::InvalidAssetException::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inlinevirtual |
The documentation for this class was generated from the following file: