Accelerated Computation Engine
|
#include <eexception.h>
Public Member Functions | |
QString | functionName () const noexcept |
QString | fileName () const noexcept |
int | line () const noexcept |
QString | title () const noexcept |
QString | details () const noexcept |
void | setFunctionName (const QString &functionName) noexcept |
void | setFileName (const QString &fileName) noexcept |
void | setLine (int line) noexcept |
void | setTitle (const QString &title) noexcept |
void | setDetails (const QString &details) noexcept |
This handles all errors encountered in the ACE library and should be used by programs that use the ACE framework. This contains all information about where the exception was thrown along with a description about what the error. A macro is provided for creating exceptions that fills in the file name, function name, and line fields. This class is thrown as an exception on any ACE error. If the program using ACE does not catch a thrown error ACE itself will handle it, either reporting it to the user without crashing if in GUI mode or reporting it to the user and exiting if in console mode.
|
noexcept |
Returns the detailed description of what caused this exception.
|
noexcept |
Returns the file name where this exception was thrown.
|
noexcept |
Returns the function name where this exception was thrown.
|
noexcept |
Returns the line number where this exception was thrown.
|
noexcept |
This sets the detailed description of what caused this exception.
details | Detailed description of what caused this exception. |
|
noexcept |
Sets the file name where this exception is thrown. This should only be set where the exception is created and thrown, unless it is caught elsewhere, modified, and thrown again.
fileName | File name where this exception is thrown. |
|
noexcept |
Sets the function name where this exception is thrown. This should only be set where the exception is created and thrown, unless it is caught elsewhere, modified, and thrown again.
functionName | Function name where this exception is thrown. |
|
noexcept |
Sets the line number where this exception is thrown. This should only be set where the exception is created and thrown, unless it is caught elsewhere, modified, and thrown again.
line | Line number where this exception is thrown. |
|
noexcept |
This sets the title describing the error that caused this exception.
title | Title describing what caused this exception. |
|
noexcept |
Returns the title describing the error that caused this exception.