Regina 7.0 Calculation Engine
|
An exception that is thrown when the SnapPea kernel encounters a fatal error. More...
#include <snappea/snappeatriangulation.h>
Public Member Functions | |
SnapPeaFatalError (const char *fromFunction, const char *fromFile) | |
Creates a new exception, indicating where in the SnapPea kernel the error occurred. More... | |
SnapPeaFatalError (const SnapPeaFatalError &) noexcept=default | |
Creates a new copy of the given exception. More... | |
SnapPeaFatalError & | operator= (const SnapPeaFatalError &) noexcept=default |
Sets this to be a copy of the given exception. More... | |
An exception that is thrown when the SnapPea kernel encounters a fatal error.
This is one of two types of exception that can be thrown from deep within the SnapPea kernel. SnapPeaFatalError is used for informative messages (the description includes a function and filename), whereas SnapPeaMemoryFull is used for out-of-memory errors (which use a stock description so they can be created without allocating further resources).
Details of the error can be accessed through the inherited member function what().
|
inline |
Creates a new exception, indicating where in the SnapPea kernel the error occurred.
fromFunction | the function from the SnapPea kernel in which the error occurred. |
fromFile | the source file from the SnapPea kernel in which the error occurred. |
|
defaultnoexcept |
Creates a new copy of the given exception.
|
defaultnoexcept |
Sets this to be a copy of the given exception.