Base SFCGAL Exception.
More...
#include <Exception.h>
|
| | Exception () noexcept |
| | Default constructor.
|
| | Exception (std::string const &message) noexcept |
| | Constructor with message.
|
| | Exception (const Exception &) noexcept=default |
| | Copy constructor.
|
| auto | operator= (const Exception &) noexcept -> Exception &=default |
| | Copy assignment operator.
|
| | Exception (Exception &&) noexcept=default |
| | Move constructor.
|
| auto | operator= (Exception &&) noexcept -> Exception &=default |
| | Move assignment operator.
|
| | ~Exception () noexcept override |
| | Destructor.
|
| auto | what () const noexcept -> const char *override |
| | returns the exception message
|
| auto | diagnostic () const noexcept -> std::string |
| | returns diagnostic information (file, line, etc.)
|
Base SFCGAL Exception.
BOOST_THROW_EXCEPTION(
Exception(
"invalid geometry") );
Exception() noexcept
Default constructor.
Definition Exception.cpp:12
◆ Exception() [1/4]
| SFCGAL::Exception::Exception |
( |
| ) |
|
|
noexcept |
◆ Exception() [2/4]
| SFCGAL::Exception::Exception |
( |
std::string const & | message | ) |
|
|
explicitnoexcept |
Constructor with message.
- Parameters
-
| message | The exception message |
◆ Exception() [3/4]
| SFCGAL::Exception::Exception |
( |
const Exception & | | ) |
|
|
defaultnoexcept |
◆ Exception() [4/4]
| SFCGAL::Exception::Exception |
( |
Exception && | | ) |
|
|
defaultnoexcept |
◆ ~Exception()
| SFCGAL::Exception::~Exception |
( |
| ) |
|
|
overridedefaultnoexcept |
◆ diagnostic()
| auto SFCGAL::Exception::diagnostic |
( |
| ) |
const -> std::string |
|
noexcept |
returns diagnostic information (file, line, etc.)
- Returns
- Diagnostic information string
◆ operator=() [1/2]
Copy assignment operator.
- Returns
- Reference to this exception
◆ operator=() [2/2]
Move assignment operator.
- Returns
- Reference to this exception
◆ what()
| auto SFCGAL::Exception::what |
( |
| ) |
const -> const char * |
|
overridenoexcept |
returns the exception message
- Returns
- The exception message
◆ _message
| std::string SFCGAL::Exception::_message |
|
protected |