SpatialFailure
#include <SpatialException.h>
Public Member Functions | |
SpatialFailure (const char *context, const char *because) throw () | |
SpatialFailure (const char *context, const char *operation, const char *resource, const char *because=nullptr) throw () | |
SpatialFailure (const char *what=nullptr) throw () | |
SpatialFailure (const SpatialFailure &) throw () | |
Public Member Functions inherited from SpatialException | |
SpatialException (const char *context, const char *because, int defIndex=1) throw () | |
SpatialException (const char *what=nullptr, int defIndex=1) throw () | |
SpatialException (const SpatialException &) throw () | |
virtual | ~SpatialException () throw () |
void | clear () |
SpatialException & | operator= (const SpatialException &) throw () |
int | slen (const char *) const |
virtual const char * | what () const throw () |
Additional Inherited Members | |
Static Public Attributes inherited from SpatialException | |
static const char * | defaultstr [] |
Protected Attributes inherited from SpatialException | |
char * | str_ |
Detailed Description
SpatialException thrown on operational failure.
This Exception should be thrown when an operation fails unexpectedly. A special constructor is provided for assembling the message from the typical components: program context, operation name, resource name, and explanation. As usual, any component may be left out by specifying the null pointer.
Definition at line 103 of file SpatialException.h.
Constructor & Destructor Documentation
◆ SpatialFailure() [1/4]
SpatialFailure::SpatialFailure | ( | const char * | what = nullptr | ) | ||
throw | ( | ) |
Default and explicit constructors.
Definition at line 158 of file SpatialException.cpp.
◆ SpatialFailure() [2/4]
SpatialFailure::SpatialFailure | ( | const char * | context, | |||
const char * | because ) | |||||
throw | ( | ) |
Standard constructor.
Definition at line 162 of file SpatialException.cpp.
◆ SpatialFailure() [3/4]
SpatialFailure::SpatialFailure | ( | const char * | context, | |||
const char * | operation, | |||||
const char * | resource, | |||||
const char * | because = nullptr ) | |||||
throw | ( | ) |
Special constructor.
Definition at line 167 of file SpatialException.cpp.
◆ SpatialFailure() [4/4]
SpatialFailure::SpatialFailure | ( | const SpatialFailure & | oldX | ) | ||
throw | ( | ) |
Copy constructor.
Definition at line 211 of file SpatialException.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.