#include "SystemException.h"
|
static const char *const | ErrorFormat = "System error: %s\n" |
|
static const char *const | Message [] |
|
The SystemException class represents an exceptions throw during a thread management operation.
Definition at line 72 of file SystemException.h.
◆ SystemException() [1/3]
- Description:
- Constructor.
- Parameters
-
thisExceptionKind | Kind of the exception. |
- Exceptions
-
- Returns
- Not applicable
Definition at line 47 of file SystemException.cpp.
◆ SystemException() [2/3]
GraphicSpace::SystemException::SystemException |
( |
const SystemException & |
Argument | ) |
|
|
defaultnoexcept |
◆ SystemException() [3/3]
GraphicSpace::SystemException::SystemException |
( |
SystemException && |
Argument | ) |
|
|
defaultnoexcept |
◆ ~SystemException()
GraphicSpace::SystemException::~SystemException |
( |
void |
| ) |
|
|
defaultnoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Write()
void GraphicSpace::SystemException::Write |
( |
FILE * |
OutputFile | ) |
const |
|
overridevirtualnoexcept |
- Description:
- Write an error message.
- Parameters
-
OutputFile | Pointer to the file on which the message will be written. |
- Exceptions
-
- Returns
- None.
- Note
- If OutputFile is not a valid file, opened for writing, the behavior is unpredictable.
-
If an error occurs while writing on OutputFile, the process is terminated.
Reimplemented from GraphicSpace::Exception.
Definition at line 73 of file SystemException.cpp.
◆ ErrorFormat
GraphicSpace::SystemException::ErrorFormat = "System error: %s\n" |
|
staticprivate |
◆ ExceptionKind
GraphicSpace::SystemException::ExceptionKind |
|
private |
◆ Message
GraphicSpace::SystemException::Message |
|
staticprivate |
Initial value:=
{
"thread initialization error",
"thread start failure",
"invalid thread operation",
"thread join failure",
"mutex initialization failure",
"invalid mutex operation",
"mutex destroy failure",
"mutex lock failure",
"mutex unlock failure",
}
Array of error messages, one for each error.
- Note
- The sequence of messages must correspond to the sequence of values of the SystemExceptionType type.
- See also
- SystemExceptionType
Definition at line 92 of file SystemException.h.
The documentation for this class was generated from the following files: